From 53bfdfd7b5f6c57ad59c642377e7aa9e288b6d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sun, 5 Nov 2023 23:51:16 +0000 Subject: [PATCH] wip: more elegant solution; breaks DoorCanvas, PreviewDoor --- ui/src/components/calendar/CalendarDoor.vue | 14 ++-- ui/src/components/calendar/SVGRect.vue | 82 ++++++++++----------- ui/src/components/editor/DoorCanvas.vue | 3 +- ui/src/components/editor/PreviewDoor.vue | 1 + 4 files changed, 48 insertions(+), 52 deletions(-) diff --git a/ui/src/components/calendar/CalendarDoor.vue b/ui/src/components/calendar/CalendarDoor.vue index 74b2c3a..29c85b0 100644 --- a/ui/src/components/calendar/CalendarDoor.vue +++ b/ui/src/components/calendar/CalendarDoor.vue @@ -1,10 +1,9 @@ diff --git a/ui/src/components/editor/DoorCanvas.vue b/ui/src/components/editor/DoorCanvas.vue index e752dda..9d3c41d 100644 --- a/ui/src/components/editor/DoorCanvas.vue +++ b/ui/src/components/editor/DoorCanvas.vue @@ -13,12 +13,13 @@ :key="`door-${index}`" :door="door" style="cursor: inherit" - visible + force_visible /> diff --git a/ui/src/components/editor/PreviewDoor.vue b/ui/src/components/editor/PreviewDoor.vue index c313db2..9fb0cd8 100644 --- a/ui/src/components/editor/PreviewDoor.vue +++ b/ui/src/components/editor/PreviewDoor.vue @@ -4,6 +4,7 @@ :rectangle="door.position" :variant="editing ? 'success' : 'primary'" @click.left="on_click" + visible >