mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix fill images for text
This commit is contained in:
@@ -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,
|
||||
)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user