mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Fix memory leak due to incorrect binding
This commit is contained in:
parent
e840083ab4
commit
b97c415c50
@ -161,7 +161,7 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
||||
};
|
||||
|
||||
this.beatmap.BindTo(beatmap);
|
||||
beatmap.ValueChanged += v => calculateScale();
|
||||
this.beatmap.ValueChanged += v => calculateScale();
|
||||
|
||||
cursorScale = config.GetBindable<double>(OsuSetting.GameplayCursorSize);
|
||||
cursorScale.ValueChanged += v => calculateScale();
|
||||
|
Loading…
Reference in New Issue
Block a user