mirror of
https://github.com/penpot/penpot.git
synced 2025-05-14 10:16:38 +02:00
🐛 Fix fills and strokes on inspect code
This commit is contained in:
parent
f2033c46f3
commit
71d104f768
2 changed files with 54 additions and 28 deletions
|
@ -29,7 +29,7 @@
|
|||
(dom/query js/document "#svg-frame"))
|
||||
markup-shape
|
||||
(fn [shape]
|
||||
(let [selector (str "#shape-" (:id shape) (when (= :text (:type shape)) " .root"))]
|
||||
(let [selector (str "#shape-" (:id shape))]
|
||||
(when-let [el (and frame (dom/query frame selector))]
|
||||
(str
|
||||
(str/fmt "<!-- %s -->" (:name shape))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue