summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-10 11:35:13 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-10 11:35:13 +0100
commit991ef55ab0495d7f17bac2534c99dfa0f7341a14 (patch)
tree4ae8054856960e21f672856546b63aa236b16d5f /core/src/ch/asynk
parent09f2b2d01df9c7ae51391c361042fb29239cc538 (diff)
downloadRustAndDust-991ef55ab0495d7f17bac2534c99dfa0f7341a14.zip
RustAndDust-991ef55ab0495d7f17bac2534c99dfa0f7341a14.tar.gz
TutorialsMenu: hit anywhere to close
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java b/core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java
index 42c6520..53dd29f 100644
--- a/core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java
@@ -65,7 +65,7 @@ public class TutorialsMenu extends Patch
{
if (!visible) return false;
- if (okBtn.hit(x, y))
+ if (rect.contains(x, y) || okBtn.hit(x, y))
return true;
return false;