Disable action prevention while transforming

To test again in other beta until issues are resolved
This commit is contained in:
JannisX11 2023-04-11 22:15:09 +02:00
parent 1294db77dd
commit b17ff04891

View File

@ -7,9 +7,9 @@ class UndoSystem {
if (this.current_save && Painter.painting) { if (this.current_save && Painter.painting) {
throw 'Canceled edit: Cannot perform edits while painting' throw 'Canceled edit: Cannot perform edits while painting'
} }
if (this.current_save && Transformer.dragging) { /*if (this.current_save && Transformer.dragging) {
throw 'Canceled edit: Cannot perform other edits while transforming elements' throw 'Canceled edit: Cannot perform other edits while transforming elements'
} }*/
if (!amended && this.amend_edit_menu) { if (!amended && this.amend_edit_menu) {
this.closeAmendEditMenu(); this.closeAmendEditMenu();
} }