diff --git a/frontend/src/uxbox/main/ui/workspace/sidebar/options/group.cljs b/frontend/src/uxbox/main/ui/workspace/sidebar/options/group.cljs index a3d7d1801..004b3fc48 100644 --- a/frontend/src/uxbox/main/ui/workspace/sidebar/options/group.cljs +++ b/frontend/src/uxbox/main/ui/workspace/sidebar/options/group.cljs @@ -26,7 +26,7 @@ fill-values (get-multi children fill-attrs) stroke-values (get-multi children stroke-attrs)] [:* - [:& measures-menu {:ids (:id shape) + [:& measures-menu {:ids [(:id shape)] :type type :values measure-values}] [:& fill-menu {:ids child-ids diff --git a/frontend/src/uxbox/main/ui/workspace/sidebar/options/multiple.cljs b/frontend/src/uxbox/main/ui/workspace/sidebar/options/multiple.cljs index 1645ef722..c22c14878 100644 --- a/frontend/src/uxbox/main/ui/workspace/sidebar/options/multiple.cljs +++ b/frontend/src/uxbox/main/ui/workspace/sidebar/options/multiple.cljs @@ -16,6 +16,10 @@ (defn get-multi [shapes attrs] + ;; Extract some attributes of a list of shapes. + ;; For each attribute, if the value is the same in all shapes, + ;; wll take this value. If there is any shape that is different, + ;; the value of the attribute will be the keyword :multiple. (let [combine-value #(if (= %1 %2) %1 :multiple) combine-values (fn [attrs shape values]