mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Block click and drag at MusicController level.
This commit is contained in:
parent
736079a60d
commit
c272041f37
@ -14,6 +14,7 @@ using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.Textures;
|
||||
using osu.Framework.Graphics.Transformations;
|
||||
using osu.Framework.Input;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Database;
|
||||
using osu.Game.Graphics;
|
||||
@ -304,6 +305,12 @@ namespace osu.Game.Overlays
|
||||
current?.Track?.Start();
|
||||
}
|
||||
|
||||
protected override bool OnClick(InputState state) => true;
|
||||
|
||||
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) => true;
|
||||
|
||||
protected override bool OnDragStart(InputState state) => true;
|
||||
|
||||
//placeholder for toggling
|
||||
protected override void PopIn() => FadeIn(100);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user