1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 23:27:25 +08:00

Update active state immediately + fix potential nullref

This commit is contained in:
smoogipoo 2019-02-19 19:44:09 +09:00
parent 703df77000
commit 49eadcb575

View File

@ -120,8 +120,6 @@ namespace osu.Game
forwardLoggedErrorsToNotifications();
RavenLogger = new RavenLogger(this);
IsActive.BindValueChanged(updateActiveState);
}
public void ToggleSettings() => settings.ToggleVisibility();
@ -185,6 +183,8 @@ namespace osu.Game
configSkin.TriggerChange();
LocalConfig.BindWith(OsuSetting.VolumeInactive, inactiveVolumeAdjust);
IsActive.BindValueChanged(updateActiveState, true);
}
private ExternalLinkOpener externalLinkOpener;