mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:52:55 +08:00
Expose an immutable bindable in interface.
This commit is contained in:
parent
dd093f44d8
commit
3fc6a74fdf
@ -41,7 +41,7 @@ namespace osu.Game.Screens
|
||||
/// <summary>
|
||||
/// Whether overlays should be able to be opened when this screen is current.
|
||||
/// </summary>
|
||||
Bindable<OverlayActivation> OverlayActivationMode { get; }
|
||||
IBindable<OverlayActivation> OverlayActivationMode { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The amount of parallax to be applied while this screen is displayed.
|
||||
|
@ -48,7 +48,9 @@ namespace osu.Game.Screens
|
||||
/// </summary>
|
||||
protected virtual OverlayActivation InitialOverlayActivationMode => OverlayActivation.All;
|
||||
|
||||
public Bindable<OverlayActivation> OverlayActivationMode { get; }
|
||||
protected readonly Bindable<OverlayActivation> OverlayActivationMode;
|
||||
|
||||
IBindable<OverlayActivation> IOsuScreen.OverlayActivationMode => OverlayActivationMode;
|
||||
|
||||
public virtual bool CursorVisible => true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user