summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/hud
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-19 08:59:03 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-19 08:59:03 +0100
commit153833bd24fd0a284f37d0eb26a728e245fa2df5 (patch)
tree664bd026637913fa10ae4aec0cb56e37d8e534a7 /core/src/ch/asynk/tankontank/game/hud
parent299871e27193e4d080c09c161c942bec36079859 (diff)
downloadRustAndDust-153833bd24fd0a284f37d0eb26a728e245fa2df5.zip
RustAndDust-153833bd24fd0a284f37d0eb26a728e245fa2df5.tar.gz
OkCancel: cancelBtn must me visible by default
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/hud')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/OkCancel.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/OkCancel.java b/core/src/ch/asynk/tankontank/game/hud/OkCancel.java
index 60862b6..0b05d6e 100644
--- a/core/src/ch/asynk/tankontank/game/hud/OkCancel.java
+++ b/core/src/ch/asynk/tankontank/game/hud/OkCancel.java
@@ -67,6 +67,7 @@ public class OkCancel extends Patch
okBtn.setPosition((x + width - okBtn.getWidth() - PADDING), (y + PADDING));
cancelBtn.setPosition((okBtn.getX() - cancelBtn.getWidth() - HSPACING), okBtn.getY());
label.setPosition((x + PADDING), (y + PADDING + okBtn.getHeight() + VSPACING));
+ cancelBtn.visible = true;
visible = true;
ok = false;
}