mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Dim offscreen columns & scroll to them if clicked
This commit is contained in:
@ -53,6 +53,9 @@ namespace osu.Game.Overlays.Mods
|
||||
}
|
||||
|
||||
public Bindable<IReadOnlyList<Mod>> SelectedMods = new Bindable<IReadOnlyList<Mod>>(Array.Empty<Mod>());
|
||||
public Bindable<bool> Active = new BindableBool(true);
|
||||
|
||||
protected override bool ReceivePositionalInputAtSubTree(Vector2 screenSpacePos) => base.ReceivePositionalInputAtSubTree(screenSpacePos) && Active.Value;
|
||||
|
||||
protected virtual ModPanel CreateModPanel(Mod mod) => new ModPanel(mod);
|
||||
|
||||
|
Reference in New Issue
Block a user