From 8d1f6e7eb7ee5c47624e1f753444dc2e0282ae8f Mon Sep 17 00:00:00 2001 From: MihailRis Date: Tue, 30 Jan 2024 20:07:49 +0300 Subject: [PATCH] controls menu fix --- src/frontend/gui/GUI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/gui/GUI.cpp b/src/frontend/gui/GUI.cpp index 07f94e84..5dd189c9 100644 --- a/src/frontend/gui/GUI.cpp +++ b/src/frontend/gui/GUI.cpp @@ -62,6 +62,7 @@ void GUI::actMouse(float delta) { if (focus != pressed) { focus = pressed; focus->focus(this); + return; } } if (this->hover == nullptr && focus) {