Fix snap to grid not working in some situations

This commit is contained in:
Koen Schmeets 2020-12-16 19:04:18 +01:00 committed by phkahler
parent cac3aae0c7
commit 4275fb1202

View File

@ -1175,10 +1175,7 @@ void GraphicsWindow::MenuEdit(Command id) {
} }
// Regenerate, with these points marked as dragged so that they // Regenerate, with these points marked as dragged so that they
// get placed as close as possible to our snap grid. // get placed as close as possible to our snap grid.
SS.GW.ClearPending();
SS.GW.ClearSelection(); SS.GW.ClearSelection();
SS.GW.Invalidate();
break; break;
} }