mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 23:27:17 +02:00
🐛 Fix problem with transparent frame thumbnails
This commit is contained in:
parent
18652d0b6f
commit
d4921c8eb9
3 changed files with 42 additions and 32 deletions
|
@ -478,7 +478,11 @@
|
|||
|
||||
(defn get-data [^js node ^string attr]
|
||||
(when (some? node)
|
||||
(.getAttribute node (str "data-" attr))))
|
||||
(.getAttribute node (dm/str "data-" attr))))
|
||||
|
||||
(defn set-data! [^js node ^string attr value]
|
||||
(when (some? node)
|
||||
(.setAttribute node (dm/str "data-" attr) (dm/str value))))
|
||||
|
||||
(defn set-attribute! [^js node ^string attr value]
|
||||
(when (some? node)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue