From 59e85027431da2f7ca07aa25dd7f1dff812942c8 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Thu, 23 Dec 2021 03:45:31 +0100 Subject: [PATCH] Fix clicking on triggers on the lower part of the screen --- Source/trigs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/trigs.cpp b/Source/trigs.cpp index 42d5439c4..e2637375d 100644 --- a/Source/trigs.cpp +++ b/Source/trigs.cpp @@ -749,7 +749,7 @@ void CheckTrigForce() { trigflag = false; - if (!sgbControllerActive && MousePosition.y > GetMainPanel().position.y - 1) { + if (!sgbControllerActive && GetMainPanel().Contains(MousePosition)) { return; }