mirror of
https://github.com/penpot/penpot.git
synced 2026-03-10 04:06:10 +00:00
Merge pull request #3266 from dfelinto/fix-distribute-enable
🐛 Distribute fix enabled when two elements were selected
This commit is contained in:
@@ -1014,7 +1014,7 @@
|
||||
(defn can-distribute? [selected]
|
||||
(cond
|
||||
(empty? selected) false
|
||||
(< (count selected) 2) false
|
||||
(< (count selected) 3) false
|
||||
:else true))
|
||||
|
||||
(defn distribute-objects
|
||||
|
||||
Reference in New Issue
Block a user