mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Only accept drag movement on the overlays
This commit is contained in:
@ -68,6 +68,8 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
|
||||
Position = topLeft;
|
||||
}
|
||||
|
||||
public override bool ReceiveMouseInputAt(Vector2 screenSpacePos) => overlays.Any(o => o.ReceiveMouseInputAt(screenSpacePos));
|
||||
|
||||
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) => true;
|
||||
|
||||
protected override bool OnDragStart(InputState state) => true;
|
||||
|
Reference in New Issue
Block a user