0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 18:48:37 -05:00

🐛 Fixes problem with multiple selection

This commit is contained in:
alonso.torres 2021-02-04 15:08:47 +01:00
parent 6cdde84445
commit 8d2797f8a1

View file

@ -59,7 +59,8 @@
;; ;;
(let [new-val (get curr attr ::undefined) (let [new-val (get curr attr ::undefined)
value (cond value (cond
(= new-val ::undefined) value (or (= new-val ::undefined)
(= new-val :multiple)) value
(= value ::undefined) (sel new-val) (= value ::undefined) (sel new-val)
(eqfn new-val value) value (eqfn new-val value) value
:else :multiple)] :else :multiple)]