v0.2.4c: tweaked layout of UI tabs, no more shuffling once they've appeared
This commit is contained in:
parent
cb661755be
commit
3516978165
|
@ -373,11 +373,16 @@ public class GameScene extends PixelScene {
|
|||
|
||||
if (tagAttack != attack.active || tagLoot != loot.visible || tagResume != resume.visible) {
|
||||
|
||||
boolean atkAppearing = attack.active && !tagAttack;
|
||||
boolean lootAppearing = loot.visible && !tagLoot;
|
||||
boolean resAppearing = resume.visible && !tagResume;
|
||||
|
||||
tagAttack = attack.active;
|
||||
tagLoot = loot.visible;
|
||||
tagResume = resume.visible;
|
||||
|
||||
layoutTags();
|
||||
if (atkAppearing || lootAppearing || resAppearing)
|
||||
layoutTags();
|
||||
}
|
||||
|
||||
cellSelector.enable(Dungeon.hero.ready);
|
||||
|
|
Loading…
Reference in New Issue
Block a user