Feature: Option to disable activate-on-release behaviour of toolbar dropdown buttons.

This commit is contained in:
Peter Nelson
2025-08-15 12:20:48 +01:00
committed by Peter Nelson
parent ea9bee2a3e
commit 3a5eaf367a
5 changed files with 25 additions and 12 deletions

View File

@@ -147,6 +147,14 @@ strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE_HELPTEXT
strval = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE_NO
cat = SC_BASIC
[SDTC_BOOL]
var = gui.toolbar_dropdown_autoselect
flags = SettingFlag::NotInSave, SettingFlag::NoNetworkSync
def = false
str = STR_CONFIG_SETTING_TOOLBAR_DROPDOWN_AUTOSELECT
strhelp = STR_CONFIG_SETTING_TOOLBAR_DROPDOWN_AUTOSELECT_HELPTEXT
cat = SC_BASIC
; We might need to emulate a right mouse button on mac
[SDTC_VAR]
ifdef = __APPLE__