From 3d33ff2180b6c277fa8aee7fcd5e9c0dfd27b304 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 3 Jan 2023 17:46:43 -0500 Subject: [PATCH] v2.0.0: adjusted action tag to fall down if its the only tag left --- .../shatteredpixeldungeon/scenes/GameScene.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java index 25ca2e539..ad718f355 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java @@ -761,6 +761,12 @@ public class GameScene extends PixelScene { tagAction = action.visible; tagResume = resume.visible; + //except if action is the only tag left, then let it drop to the bottom + // this is because the action tag can sometimes be persistent + if (tagAction && !tagAttack && !tagLoot && !tagResume){ + tagAppearing = true; + } + if (tagAppearing) layoutTags(); }