From f9f3b3951f3459cbe3fe57eafa01400ea5f60c18 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 26 Jan 2023 09:15:15 +0100 Subject: [PATCH] :bug: Fix external borders not considered for thumbnails --- frontend/resources/styles/main/partials/workspace.scss | 1 - frontend/src/app/main/ui/workspace/viewport/interactions.cljs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/resources/styles/main/partials/workspace.scss b/frontend/resources/styles/main/partials/workspace.scss index 7cc8587a9..1128ba62f 100644 --- a/frontend/resources/styles/main/partials/workspace.scss +++ b/frontend/resources/styles/main/partials/workspace.scss @@ -273,7 +273,6 @@ $height-palette-max: 80px; .frame-thumbnail-wrapper { .fills, - .strokes, .frame-clip-def { opacity: 0; } diff --git a/frontend/src/app/main/ui/workspace/viewport/interactions.cljs b/frontend/src/app/main/ui/workspace/viewport/interactions.cljs index 7ecc5989a..e9a717124 100644 --- a/frontend/src/app/main/ui/workspace/viewport/interactions.cljs +++ b/frontend/src/app/main/ui/workspace/viewport/interactions.cljs @@ -230,7 +230,7 @@ [:g {:on-mouse-down start-move-position :on-mouse-enter #(reset! hover-disabled? true) :on-mouse-leave #(reset! hover-disabled? false)} - [:use {:href (str "#shape-" (:id dest-shape)) + [:use {:href (str "#thumbnail-container-" (:id dest-shape)) :x (- marker-x dest-x) :y (- marker-y dest-y)}] [:path {:stroke "var(--color-primary)"