mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix fill images for text
This commit is contained in:
@@ -223,7 +223,6 @@
|
|||||||
|
|
||||||
(defn- process-fill-image
|
(defn- process-fill-image
|
||||||
[shape-id fill]
|
[shape-id fill]
|
||||||
(rx/from
|
|
||||||
(when-let [image (:fill-image fill)]
|
(when-let [image (:fill-image fill)]
|
||||||
(let [id (dm/get-prop image :id)
|
(let [id (dm/get-prop image :id)
|
||||||
buffer (uuid/get-u32 id)
|
buffer (uuid/get-u32 id)
|
||||||
@@ -233,7 +232,7 @@
|
|||||||
(aget buffer 2)
|
(aget buffer 2)
|
||||||
(aget buffer 3))]
|
(aget buffer 3))]
|
||||||
(when (zero? cached-image?)
|
(when (zero? cached-image?)
|
||||||
(fetch-image shape-id id))))))
|
(fetch-image shape-id id)))))
|
||||||
|
|
||||||
(defn set-shape-text-images
|
(defn set-shape-text-images
|
||||||
[shape-id content]
|
[shape-id content]
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ impl ImageStore {
|
|||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
true,
|
||||||
false,
|
false,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user