mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 12:40:12 +00:00
🐛 Fix alignment row on single shape selection
This commit is contained in:
parent
e66d44ca81
commit
84cccd1b79
@ -768,7 +768,7 @@
|
|||||||
(empty? selected) false
|
(empty? selected) false
|
||||||
(> (count selected) 1) true
|
(> (count selected) 1) true
|
||||||
:else
|
:else
|
||||||
(not= uuid/zero (:parent-id (get objects (first selected))))))
|
(not= uuid/zero (:parent-id (get objects (:id (first selected)))))))
|
||||||
|
|
||||||
(defn align-object-to-parent
|
(defn align-object-to-parent
|
||||||
[objects object-id axis]
|
[objects object-id axis]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user