Commit e4863f54 authored by Aneta Steimarova's avatar Aneta Steimarova

#919 Moved actions in clicked method into touchUp

parent 861c16e4
......@@ -53,10 +53,6 @@ public abstract class AbstractButtonClickListener extends ClickListener {
public void touchUp(InputEvent event, float x, float y, int pointer, int button) {
super.touchUp(event, x, y, pointer, button);
safeGame.makeBtnUntouchable(getImageTablexiaButton());
}
@Override
public void clicked(InputEvent event, float x, float y) {
if (firstClickedButton != null && firstClickedButton.get().equals(getImageTablexiaButton())) {
onButtonClicked();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment