mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Add readonly modifier
This commit is contained in:
parent
6a67d76d7c
commit
8af9cfbe40
@ -33,7 +33,7 @@ namespace osu.Game.Overlays.Mods
|
||||
/// <summary>
|
||||
/// Determines whether this column should accept user input.
|
||||
/// </summary>
|
||||
public Bindable<bool> Active = new BindableBool(true);
|
||||
public readonly Bindable<bool> Active = new BindableBool(true);
|
||||
|
||||
protected override bool ReceivePositionalInputAtSubTree(Vector2 screenSpacePos) => base.ReceivePositionalInputAtSubTree(screenSpacePos) && Active.Value;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user