1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-17 20:25:17 +08:00
osu-lazer/osu.Game/Overlays/Mods
Bartłomiej Dach aa15e84bea
Adjust rounding in mod select difficulty multiplier to match song select footer
The 0.01 `Precision` spec on `DifficultyMultiplierDisplay.Current` would
cause the difficulty multiplier to use a different midpoint rounding
strategy than `double.ToString()`, which is the one that the song select
footer relies on. For example, a value of 0.015 would be rounded down
to 0.01 by `double.ToString()`, but rounded up to 0.02
by `BindableDouble`.

Fix the discrepancy by just deleting the `Precision` spec. Since the
value of the bindable would go through `ToLocalisableString(@"N2")`
anyway, it was redundant as is.

Fixes #19889.
2022-08-21 23:15:49 +02:00
..
Input Prefix common strings for context 2022-08-10 00:35:19 +10:00
AddPresetButton.cs Rename locals for legibility 2022-08-03 21:23:31 +02:00
AddPresetPopover.cs Automatically focus name textbox upon add preset popover open 2022-08-03 21:26:35 +02:00
DeleteModPresetDialog.cs Implement mod preset deletion flow 2022-08-06 21:58:55 +02:00
DeselectAllModsButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
DifficultyMultiplierDisplay.cs Adjust rounding in mod select difficulty multiplier to match song select footer 2022-08-21 23:15:49 +02:00
IncompatibilityDisplayingModPanel.cs Remove unnecessary null casts 2022-06-24 14:50:11 +09:00
IncompatibilityDisplayingTooltip.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ModButtonTooltip.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ModColumn.cs Simplify mirror copy of task logic in ModColumn 2022-08-08 19:20:50 +02:00
ModPanel.cs Rename ModSelect{Overlay -> }Panel 2022-07-22 19:17:22 +02:00
ModPresetColumn.cs Use alternative implementation of preset panel cleanup 2022-08-08 21:08:54 +02:00
ModPresetPanel.cs Implement user selection logic for mod presets 2022-08-07 16:20:20 +02:00
ModPresetTooltip.cs Fix code quality inspection about ambiguous equality 2022-07-31 23:53:46 +02:00
ModSelectColumn.cs Add readonly modifier 2022-07-24 23:29:18 +02:00
ModSelectOverlay.cs Add preset column to solo mod select overlay 2022-08-07 16:20:31 +02:00
ModSelectPanel.cs Add button for creating new mod presets 2022-08-02 22:03:32 +02:00
ModSettingsArea.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ModState.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SelectAllModsButton.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ShearedOverlayContainer.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
UserModSelectOverlay.cs Restructure everything to fix free mod overlay issue 2022-06-21 14:48:41 +02:00