- resolves #35992 **Changes** Introduced GetSettingTooltipText, which returns the value of the respective setting. The function can be overwritten, allowing to implement specific behavior. This allows you to define that a value of 0 for the “Muted” mod will instead display “always muted.” In the same step, I also adjusted the "NoScope" mod, where we had the same problem. Wherever we want to implement specialization like this, we can simply overwrite GetSettingTooltipText to customize the behavior for the mod settings of the mod. **Result** <img width="2560" height="1440" alt="2026-01-19-122307_hyprshot" src="https://github.com/user-attachments/assets/20e3aa9a-aa6f-4284-9cf1-3092f52c021d" /> <img width="2560" height="1440" alt="2026-01-19-122324_hyprshot" src="https://github.com/user-attachments/assets/6f3fac5b-2a5d-4dd9-a56c-4b09c02cbcca" /> <img width="2560" height="1440" alt="2026-01-19-155307_hyprshot" src="https://github.com/user-attachments/assets/f9ee75d3-c200-4536-9ee9-d20ddbd9fa44" /> Signed-off-by: Linus Genz <linuslinuxgenz@gmail.com>
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
IMod
SettingDescription
IMod.Ranked
What goes around, comes around.
Mod.UsesDefaultConfiguration
Bindable.Parse
ModTouchDevice
Mod
Settings{-> Map}
Dictionary.Values
Also, mark as nullable for some properties.
IsPlayable
UserPlayable
Handles consumers who still haven't updated to use `IsPlayable` yet.
IsPlayable(...)
GetSettingUnderlyingValue
SettingSource
This reverts commit 252b945d3b, reversing changes made to a1b39a96cf.
252b945d3b
a1b39a96cf