mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
70842f71f4
Due to floating-point rounding and representation errors, filters could wrongly display results incongruous with the wedge display text (ie. a beatmap with the BPM of 139.99999 would be displayed as having 140 BPM and also pass the bpm<140 filter). Apply tolerance when parsing floating-point constraints. The tolerance chosen is half of what the UI displays for the particular values (so for example half of 0.1 for AR/DR/CS, 0.01 for stars, etc.) Tests updated accordingly. |
||
---|---|---|
.. | ||
Backgrounds | ||
Charts | ||
Edit | ||
Menu | ||
Multi | ||
Play | ||
Ranking | ||
Select | ||
BackgroundScreen.cs | ||
BackgroundScreenStack.cs | ||
IOsuScreen.cs | ||
Loader.cs | ||
OsuScreen.cs | ||
OsuScreenDependencies.cs | ||
OsuScreenStack.cs | ||
ScreenWhiteBox.cs | ||
StartupScreen.cs |