mirror of
https://github.com/ppy/osu
synced 2025-02-01 10:51:53 +00:00
Fix CI issue and use method instead of triggering change on bindable.
This commit is contained in:
parent
242a035f7e
commit
30c7a6f6a7
@ -211,7 +211,7 @@ namespace osu.Game.Screens.Play
|
||||
if (game != null)
|
||||
OverlayActivationMode.BindTo(game.OverlayActivationMode);
|
||||
|
||||
gameplayOverlaysDisabled.ValueChanged += disabled => updateOverlayActivationMode();
|
||||
gameplayOverlaysDisabled.BindValueChanged(_ => updateOverlayActivationMode());
|
||||
DrawableRuleset.IsPaused.BindValueChanged(_ => updateOverlayActivationMode());
|
||||
DrawableRuleset.HasReplayLoaded.BindValueChanged(_ => updateOverlayActivationMode());
|
||||
|
||||
@ -654,7 +654,7 @@ namespace osu.Game.Screens.Play
|
||||
foreach (var mod in Mods.Value.OfType<IApplicableToHUD>())
|
||||
mod.ApplyToHUD(HUDOverlay);
|
||||
|
||||
gameplayOverlaysDisabled.TriggerChange();
|
||||
updateOverlayActivationMode();
|
||||
}
|
||||
|
||||
public override void OnSuspending(IScreen next)
|
||||
|
Loading…
Reference in New Issue
Block a user