mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Move right-click deletion logic to be handled at a SelectionBlueprint level
This commit is contained in:
@ -225,9 +225,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
/// <param name="state">The input state at the point of selection.</param>
|
||||
internal void HandleSelectionRequested(SelectionBlueprint blueprint, InputState state)
|
||||
{
|
||||
if (state.Keyboard.ShiftPressed && state.Mouse.IsPressed(MouseButton.Right))
|
||||
EditorBeatmap.Remove(blueprint.HitObject);
|
||||
else if (state.Keyboard.ControlPressed)
|
||||
if (state.Keyboard.ControlPressed)
|
||||
blueprint.ToggleSelection();
|
||||
else
|
||||
ensureSelected(blueprint);
|
||||
|
Reference in New Issue
Block a user