From 9485aff8b83bfab642b8f99581b3c6d85778e5a2 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:26:12 +1100 Subject: [PATCH] minor input bug fix --- source/frontend/StarMainInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index 0c84933..21cba33 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -348,6 +348,8 @@ bool MainInterface::handleInputEvent(InputEvent const& event) { if (mouseDown->mouseButton == MouseButton::Left || mouseDown->mouseButton == MouseButton::Right || mouseDown->mouseButton == MouseButton::Middle) return overlayClick(mouseDown->mousePosition, mouseDown->mouseButton); + else + return false; } else if (auto mouseUp = event.ptr()) { if (mouseUp->mouseButton == MouseButton::Left)