0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

Fix image importation from galery to workspace.

This commit is contained in:
Andrey Antukh 2017-03-02 16:21:51 +01:00
parent 7e203c9851
commit 89b7834b10
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -95,6 +95,7 @@
(letfn [(on-double-click [event]
(let [shape {:type :image
:name name
:id (uuid/random)
:metadata {:width width
:height height}
:image id}]