mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +08:00
Update active state immediately + fix potential nullref
This commit is contained in:
parent
703df77000
commit
49eadcb575
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user