mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Disable action prevention while transforming
To test again in other beta until issues are resolved
This commit is contained in:
parent
1294db77dd
commit
b17ff04891
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user