1
0
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:
Bartłomiej Dach 2022-07-24 23:29:18 +02:00
parent 6a67d76d7c
commit 8af9cfbe40
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -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;