mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 23:56:11 +02:00
Fix image importation from galery to workspace.
This commit is contained in:
parent
7e203c9851
commit
89b7834b10
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@
|
||||||
(letfn [(on-double-click [event]
|
(letfn [(on-double-click [event]
|
||||||
(let [shape {:type :image
|
(let [shape {:type :image
|
||||||
:name name
|
:name name
|
||||||
|
:id (uuid/random)
|
||||||
:metadata {:width width
|
:metadata {:width width
|
||||||
:height height}
|
:height height}
|
||||||
:image id}]
|
:image id}]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue