mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 20:49:37 +00: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
@ -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…
x
Reference in New Issue
Block a user