diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-19 08:59:03 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-19 08:59:03 +0100 |
commit | 153833bd24fd0a284f37d0eb26a728e245fa2df5 (patch) | |
tree | 664bd026637913fa10ae4aec0cb56e37d8e534a7 /core/src/ch/asynk/tankontank/game | |
parent | 299871e27193e4d080c09c161c942bec36079859 (diff) | |
download | RustAndDust-153833bd24fd0a284f37d0eb26a728e245fa2df5.zip RustAndDust-153833bd24fd0a284f37d0eb26a728e245fa2df5.tar.gz |
OkCancel: cancelBtn must me visible by default
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/OkCancel.java | 1 |
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; } |