From 459074fb176733a2064e9de0af0c17b25812569f Mon Sep 17 00:00:00 2001 From: MathemanFlo Date: Wed, 4 May 2022 09:33:21 +0200 Subject: [PATCH] Increase active layer slot area --- Sources/arm/ui/TabLayers.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/arm/ui/TabLayers.hx b/Sources/arm/ui/TabLayers.hx index fce2924b..9144d65a 100644 --- a/Sources/arm/ui/TabLayers.hx +++ b/Sources/arm/ui/TabLayers.hx @@ -361,7 +361,7 @@ class TabLayers { } else { if (ui.enabled && ui.inputEnabled && - ui.inputX > ui._windowX + ui._x && ui.inputX < ui._windowX + ui._x + ui._w && + ui.inputX > ui._windowX + ui._x && ui.inputX < ui._windowX + ui._windowW && ui.inputY > ui._windowY + ui._y - center && ui.inputY < ui._windowY + ui._y - center + (step * ui.SCALE()) * 2) { if (ui.inputStarted) { Context.setLayer(l);