mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 08:13:01 +00:00
only remove rect while not editing
This commit is contained in:
parent
d387aceedd
commit
93f31cd2b8
1 changed files with 4 additions and 0 deletions
|
@ -143,6 +143,10 @@ export default class RectPad extends Vue {
|
||||||
}
|
}
|
||||||
|
|
||||||
private remove_rect(event: MouseEvent) {
|
private remove_rect(event: MouseEvent) {
|
||||||
|
if (this.preview_visible) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.pop_rectangle(get_event_thous(event));
|
this.pop_rectangle(get_event_thous(event));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue