1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 04:53:52 +08:00

Merge pull request #11916 from bdach/restore-default-transform-mutation

Fix restore default button potentially mutating transforms during load
This commit is contained in:
Dean Herbert
2021-02-28 12:40:17 +09:00
committed by GitHub
Unverified
+3 -1
View File
@@ -207,7 +207,9 @@ namespace osu.Game.Overlays.Settings
UpdateState();
}
public void UpdateState()
public void UpdateState() => Scheduler.AddOnce(updateState);
private void updateState()
{
if (bindable == null)
return;