0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Fix external borders not considered for thumbnails

This commit is contained in:
Alejandro Alonso 2023-01-26 09:15:15 +01:00 committed by Alonso Torres
parent 22ded62000
commit f9f3b3951f
2 changed files with 1 additions and 2 deletions

View file

@ -273,7 +273,6 @@ $height-palette-max: 80px;
.frame-thumbnail-wrapper {
.fills,
.strokes,
.frame-clip-def {
opacity: 0;
}

View file

@ -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)"