diff --git a/ui/src/components/rects/RectPad.vue b/ui/src/components/rects/RectPad.vue index 8a836ef..5856515 100644 --- a/ui/src/components/rects/RectPad.vue +++ b/ui/src/components/rects/RectPad.vue @@ -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)); } }