mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +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>
|
/// <summary>
|
||||||
/// Whether overlays should be able to be opened when this screen is current.
|
/// Whether overlays should be able to be opened when this screen is current.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Bindable<OverlayActivation> OverlayActivationMode { get; }
|
IBindable<OverlayActivation> OverlayActivationMode { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The amount of parallax to be applied while this screen is displayed.
|
/// The amount of parallax to be applied while this screen is displayed.
|
||||||
|
@ -48,7 +48,9 @@ namespace osu.Game.Screens
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
protected virtual OverlayActivation InitialOverlayActivationMode => OverlayActivation.All;
|
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;
|
public virtual bool CursorVisible => true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user