From 991ef55ab0495d7f17bac2534c99dfa0f7341a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 10 Nov 2015 11:35:13 +0100 Subject: TutorialsMenu: hit anywhere to close --- core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1-2-g2b99