forked from rosebudai/OpenRCT2-Web
fix #2434: Dropdown menus linger when toolbars are toggled
This commit is contained in:
1 parent
737baf8b78
commit
9c19d689c2
1 file changed
+1
@@ -259,6 +259,7 @@ static void shortcut_remove_top_bottom_toolbar_toggle()
|
||||
return;
|
||||
|
||||
if (window_find_by_class(WC_TOP_TOOLBAR) != NULL) {
|
||||
window_close(window_find_by_class(WC_DROPDOWN));
|
||||
window_close(window_find_by_class(WC_TOP_TOOLBAR));
|
||||
window_close(window_find_by_class(WC_BOTTOM_TOOLBAR));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user