diff options
author | Hitcher <HitcherUK@gmail.com> | 2024-05-06 10:06:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 10:06:06 +0100 |
commit | a1c6d8ec37bc6059fb0b1458684dd5067bafdcf7 (patch) | |
tree | 33a894a3fda3f6b1e4bba3d71d24bc550a9691a8 | |
parent | 4313724b4bdff8fd83b47606692f0a641b177cd5 (diff) | |
download | xbmc-a1c6d8ec37bc6059fb0b1458684dd5067bafdcf7.tar.xz |
[GUI] Move dialog settings button and control ID range
Moves the range of negative IDs used for dialog settings to avoid overlapping with positive IDs used for buttons in dialogs.
Button start changed from -100 to -200.
Control start changed from -80 to -180.
Fixes https://github.com/xbmc/xbmc/issues/25125
-rw-r--r-- | xbmc/settings/dialogs/GUIDialogSettingsBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/settings/dialogs/GUIDialogSettingsBase.h b/xbmc/settings/dialogs/GUIDialogSettingsBase.h index 38fe7c9e0f..63862e6643 100644 --- a/xbmc/settings/dialogs/GUIDialogSettingsBase.h +++ b/xbmc/settings/dialogs/GUIDialogSettingsBase.h @@ -24,8 +24,8 @@ #define CONTROL_SETTINGS_CANCEL_BUTTON 29 #define CONTROL_SETTINGS_CUSTOM_BUTTON 30 -#define CONTROL_SETTINGS_START_BUTTONS -100 -#define CONTROL_SETTINGS_START_CONTROL -80 +#define CONTROL_SETTINGS_START_BUTTONS -200 +#define CONTROL_SETTINGS_START_CONTROL -180 #define SETTINGS_RESET_SETTING_ID "settings.reset" #define SETTINGS_EMPTY_CATEGORY_ID "categories.empty" |