mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +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();
|
forwardLoggedErrorsToNotifications();
|
||||||
|
|
||||||
RavenLogger = new RavenLogger(this);
|
RavenLogger = new RavenLogger(this);
|
||||||
|
|
||||||
IsActive.BindValueChanged(updateActiveState);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ToggleSettings() => settings.ToggleVisibility();
|
public void ToggleSettings() => settings.ToggleVisibility();
|
||||||
@ -185,6 +183,8 @@ namespace osu.Game
|
|||||||
configSkin.TriggerChange();
|
configSkin.TriggerChange();
|
||||||
|
|
||||||
LocalConfig.BindWith(OsuSetting.VolumeInactive, inactiveVolumeAdjust);
|
LocalConfig.BindWith(OsuSetting.VolumeInactive, inactiveVolumeAdjust);
|
||||||
|
|
||||||
|
IsActive.BindValueChanged(updateActiveState, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private ExternalLinkOpener externalLinkOpener;
|
private ExternalLinkOpener externalLinkOpener;
|
||||||
|
Loading…
Reference in New Issue
Block a user