From ef8f298f92d27f17364a13d3748f9c7d9fbe87ca Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Tue, 19 Mar 2019 20:40:19 -0700 Subject: [PATCH] Tapping skill button when SpellsQuickPanel is visible will hide it --- core/src/com/riiablo/panel/MobileControls.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/riiablo/panel/MobileControls.java b/core/src/com/riiablo/panel/MobileControls.java index c9c77fd9..59adc011 100644 --- a/core/src/com/riiablo/panel/MobileControls.java +++ b/core/src/com/riiablo/panel/MobileControls.java @@ -95,7 +95,7 @@ public class MobileControls extends WidgetGroup implements Disposable { @Override public void tap(InputEvent event, float x, float y, int count, int button) { - //... + gameScreen.spellsQuickPanelR.setVisible(false); } }; gestureListener.getGestureDetector().setLongPressSeconds(0.5f);