mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 01:49:53 +08:00
dfa7ac2082
- 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>
dfa7ac2082
·
2026-01-20 16:51:23 +09:00
History