Tapping skill button when SpellsQuickPanel is visible will hide it

This commit is contained in:
Collin Smith 2019-03-19 20:40:19 -07:00
parent 6734c9a614
commit ef8f298f92

View File

@ -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);