summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-24 10:18:12 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-24 10:18:12 +0100
commit69051769e9cd46652f17936684e1ff44c247f5e5 (patch)
treef81b236553366d0d23f1a2bb12d023adc424c6b9 /core/src/ch/asynk
parentc364908c5b56d38ea76056fc32b865df340fc698 (diff)
downloadRustAndDust-69051769e9cd46652f17936684e1ff44c247f5e5.zip
RustAndDust-69051769e9cd46652f17936684e1ff44c247f5e5.tar.gz
PlayMenu: on delete, hide buttons
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/menu/PlayMenu.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
index 1a6d5ce..4922023 100644
--- a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
@@ -49,6 +49,8 @@ public class PlayMenu extends Patch implements MenuCtrl.Panel
if (ok) {
game.db.deleteGame(GameRecord.remove(getList().getIdx()));
getList().unselect();
+ deleteBtn.visible = false;
+ resumeBtn.visible = false;
}
return MenuCtrl.MenuType.NONE;
}