mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 00:28:20 -05:00
✨ Small improvement
This commit is contained in:
parent
2b978777d7
commit
9367788898
1 changed files with 2 additions and 3 deletions
|
@ -567,9 +567,8 @@
|
|||
(defn start-component
|
||||
([file data] (start-component file data :group))
|
||||
([file data root-type]
|
||||
(let [selrect (if (and (:x data) (:y data) (:width data) (:height data))
|
||||
(gsh/make-selrect (:x data) (:y data) (:width data) (:height data))
|
||||
cts/empty-selrect)
|
||||
(let [selrect (or (gsh/make-selrect (:x data) (:y data) (:width data) (:height data))
|
||||
cts/empty-selrect)
|
||||
name (:name data)
|
||||
path (:path data)
|
||||
main-instance-id (:main-instance-id data)
|
||||
|
|
Loading…
Add table
Reference in a new issue