From f9111e7a451276bc8cbd7b95bdac9ddf6cffea4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 9 Nov 2023 18:03:10 +0000 Subject: [PATCH] Fix for PreviewDoor --- ui/src/components/editor/PreviewDoor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/editor/PreviewDoor.vue b/ui/src/components/editor/PreviewDoor.vue index 9fb0cd8..42c5354 100644 --- a/ui/src/components/editor/PreviewDoor.vue +++ b/ui/src/components/editor/PreviewDoor.vue @@ -53,7 +53,7 @@ export default class extends Vue { } public on_click(event: MouseEvent) { - if (event.target === null || !(event.target instanceof SVGRectElement)) { + if (event.target === null || !(event.target instanceof HTMLDivElement)) { return; }