1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 01:49:53 +08:00
Files
osu-lazer/osu.Game/Rulesets/Mods
T
Linus Genz dfa7ac2082 Specialise mod setting hover text in song select scoreboard (#36391)
- 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
..
2025-08-21 09:00:44 +02:00
2025-08-21 09:00:44 +02:00
2025-08-21 09:00:44 +02:00
2025-08-24 18:55:45 +03:00
2025-08-21 09:00:44 +02:00
2025-08-21 09:00:44 +02:00
2025-04-04 16:49:23 +09:00
2025-04-14 19:34:33 +09:00
2025-08-21 09:00:44 +02:00
2025-04-14 19:34:33 +09:00
2022-07-31 22:10:15 +02:00
2025-08-21 09:00:44 +02:00
2025-08-21 09:00:44 +02:00
2025-04-14 19:34:33 +09:00
2025-08-21 09:00:44 +02:00
2025-08-21 09:00:44 +02:00
2023-10-31 16:18:09 +01:00