mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 01:57:20 +02:00
🐛 Fix fill images for text
This commit is contained in:
parent
d71fa659d5
commit
5c7a4ce5b7
2 changed files with 11 additions and 12 deletions
|
@ -223,7 +223,6 @@
|
|||
|
||||
(defn- process-fill-image
|
||||
[shape-id fill]
|
||||
(rx/from
|
||||
(when-let [image (:fill-image fill)]
|
||||
(let [id (dm/get-prop image :id)
|
||||
buffer (uuid/get-u32 id)
|
||||
|
@ -233,7 +232,7 @@
|
|||
(aget buffer 2)
|
||||
(aget buffer 3))]
|
||||
(when (zero? cached-image?)
|
||||
(fetch-image shape-id id))))))
|
||||
(fetch-image shape-id id)))))
|
||||
|
||||
(defn set-shape-text-images
|
||||
[shape-id content]
|
||||
|
|
|
@ -61,7 +61,7 @@ impl ImageStore {
|
|||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
true,
|
||||
false,
|
||||
)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue