0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

Merge pull request #3266 from dfelinto/fix-distribute-enable

🐛 Distribute fix enabled when two elements were selected
This commit is contained in:
Alejandro 2023-06-05 06:38:33 +02:00 committed by GitHub
commit c228f2fd68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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