Canceling copy-paste tool moving does not reset texture correctly
This commit is contained in:
JannisX11 2023-02-01 18:21:21 +01:00
parent 5af03eaf4a
commit a667554251

View File

@ -240,7 +240,10 @@ const UVEditor = {
}
},
hide() {
scope.removePastingOverlay()
scope.removePastingOverlay();
if (Painter.selection.move_mode) {
Undo.cancelEdit();
}
}
}
overlay.append(Painter.selection.canvas)