From 71f413adc3efc726b8d8e3456cbabec62c89332d Mon Sep 17 00:00:00 2001 From: efrec Date: Sat, 12 Sep 2026 00:37:35 -0400 Subject: [PATCH] fix: gui_top_bar buttons eat clicks, click releases (#9213) ### Work done Fixes bug in #9211 caused by the end of one function bleeding into the next one. Just replacing the code seems to work. --- luaui/Widgets/gui_top_bar.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/luaui/Widgets/gui_top_bar.lua b/luaui/Widgets/gui_top_bar.lua index 25973bab0f2..b8522288180 100644 --- a/luaui/Widgets/gui_top_bar.lua +++ b/luaui/Widgets/gui_top_bar.lua @@ -2580,7 +2580,6 @@ end function widget:MousePress(x, y, button) if button == 1 then - if not spec then if not isSingle then if @@ -2631,14 +2630,14 @@ function widget:MousePress(x, y, button) return true end end - + end if hoveringTopbar then return true end end - +function widget:MouseRelease(x, y, button) if draggingShareIndicator then adjustSliders(x, y) draggingShareIndicator = nil