1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-17 04:42:55 +08:00
osu-lazer/osu.Game
Bartłomiej Dach 5e5bb49cd8
Fix rate change hotkeys sometimes losing track of adjust pitch setting
Fixes https://osu.ppy.sh/community/forums/topics/1983327.

The cause of the bug is a bit convoluted, and stems from the fact that
the mod select overlay controls all of the game-global mod instances if
present. `ModSpeedHotkeyHandler` would store the last spotted instance
of a rate adjust mod - which in this case is a problem, because on
deselection of a mod, the mod select overlay resets its settings to
defaults:

	a258059d43/osu.Game/Overlays/Mods/ModSelectOverlay.cs (L424-L425)

A way to defend against this is a clone, but this reveals another issue,
in that the existing code was *relying* on the reference to the mod
remaining the same in any other case, to read the latest valid settings
of the mod. This basically only mattered in the edge case wherein Double
Time would swap places with Half Time and vice versa (think [0.95,1.05]
range). Therefore, track mod settings too explicitly to ensure that the
stored clone is as up-to-date as possible.
2024-09-30 08:47:02 +02:00
..
Audio Fix argon volume-aware hitsounds not correctly playing immediately after object placement 2024-09-23 13:38:26 +02:00
Beatmaps Add inline comments for iOS locals 2024-09-26 16:48:42 +09:00
Collections Apply corner radius at a higher level so hover click sounds account for it 2024-08-01 18:45:47 -07:00
Configuration Merge pull request #29936 from u4vh3/skinning-colour-customisation 2024-09-27 14:20:58 +09:00
Database Change log output to only output when matches are found (in line with other methods) 2024-09-14 02:19:52 +09:00
Extensions Fix date failing to display on leaderboard for some scores with weird datetimes 2024-01-14 13:52:39 +01:00
Graphics Fix text in FormFileSelector bleeding through the border 2024-09-28 22:37:16 +03:00
Input change sample seek keybind to ctrl shift 2024-08-28 09:57:13 +02:00
IO Update naming of enum fields in ObjType 2024-05-01 17:24:53 +03:00
IPC
Localisation Rename FontColour to TextColour 2024-09-20 16:50:17 +02:00
Models Use native query to avoid huge overheads when cleaning up realm files 2024-01-09 15:37:29 +09:00
Online Add inline comments for iOS locals 2024-09-26 16:48:42 +09:00
Overlays Merge pull request #29704 from Fabep/ModCustomisationHeaderColor 2024-09-27 12:40:35 +02:00
Performance Expose high performance session state 2024-04-16 10:04:38 +08:00
Properties Make medal overlay respect overlay disable via activation mode 2024-02-20 16:31:31 +01:00
Replays Update HasFlag usages 2024-07-03 00:19:04 +09:00
Rulesets Merge pull request #29949 from minetoblend/feature/scale-around-center 2024-09-28 21:37:39 +09:00
Scoring Fix mouseX legacy replay parsing for high key counts in mania 2024-08-11 09:45:43 -07:00
Screens Fix rate change hotkeys sometimes losing track of adjust pitch setting 2024-09-30 08:47:02 +02:00
Skinning Merge pull request #29936 from u4vh3/skinning-colour-customisation 2024-09-27 14:20:58 +09:00
Storyboards Fix storyboard sprites leaving gaps on edges when resolving from an atlas 2024-07-17 14:47:17 +03:00
Tests Merge pull request #29914 from peppy/fix-judgement-counter-sync 2024-09-27 10:57:26 +02:00
Updater Resurrect SimpleUpdateManager as MobileUpdateNotifier 2024-07-05 03:29:09 -04:00
Users Fix nullability inspection 2024-05-10 23:26:43 +08:00
Utils Merge branch 'master' into selection-center 2024-09-27 09:30:36 +02:00
.editorconfig
FodyWeavers.xml
osu!.res
osu.Game.csproj Update framework 2024-09-27 17:40:06 +09:00
OsuGame.cs Consume framework change to avoid weird unbind flow 2024-09-27 17:41:55 +09:00
OsuGameBase_Importing.cs
OsuGameBase.cs Fix weird test critical failure if exception happens too early in execution 2024-08-30 18:35:31 +09:00
PerformFromMenuRunner.cs