only remove rect while not editing

This commit is contained in:
Jörn-Michael Miehe 2023-01-19 00:27:21 +00:00
parent d387aceedd
commit 93f31cd2b8

View file

@ -143,6 +143,10 @@ export default class RectPad extends Vue {
}
private remove_rect(event: MouseEvent) {
if (this.preview_visible) {
return;
}
this.pop_rectangle(get_event_thous(event));
}
}