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:
commit
c228f2fd68
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue