mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 22:01:39 +02: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]
|
(defn can-distribute? [selected]
|
||||||
(cond
|
(cond
|
||||||
(empty? selected) false
|
(empty? selected) false
|
||||||
(< (count selected) 2) false
|
(< (count selected) 3) false
|
||||||
:else true))
|
:else true))
|
||||||
|
|
||||||
(defn distribute-objects
|
(defn distribute-objects
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue