1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-16 00:37:26 +08:00

deselect stuff stuff when grid from points

This commit is contained in:
OliBomby 2023-12-31 02:12:50 +01:00
parent c2ea1848ca
commit c952e2f620

View File

@ -56,6 +56,9 @@ namespace osu.Game.Rulesets.Osu.Edit
{ {
isPlacingGridFromPoints = true; isPlacingGridFromPoints = true;
gridFromPointsStart = null; gridFromPointsStart = null;
// Deselect all objects because we cant snap to objects which are selected.
DeselectAll();
} }
protected override bool OnMouseDown(MouseDownEvent e) protected override bool OnMouseDown(MouseDownEvent e)