mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09:00
Remove usage of case-when (caught me off-gaurd)
This commit is contained in:
parent
ea2fd831ab
commit
eed9894d3a
@ -122,9 +122,14 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
rightClickPosition = e.MouseDownPosition;
|
rightClickPosition = e.MouseDownPosition;
|
||||||
return false; // Allow right click to be handled by context menu
|
return false; // Allow right click to be handled by context menu
|
||||||
|
|
||||||
case MouseButton.Left when e.ControlPressed && IsSelected:
|
case MouseButton.Left:
|
||||||
placementControlPointIndex = addControlPoint(e.MousePosition);
|
if (e.ControlPressed && IsSelected)
|
||||||
return true; // Stop input from being handled and modifying the selection
|
{
|
||||||
|
placementControlPointIndex = addControlPoint(e.MousePosition);
|
||||||
|
return true; // Stop input from being handled and modifying the selection
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user