From 11249245aecc4e3ef50b103fd3d4a30c724fe042 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 30 Jan 2016 19:04:48 +0200 Subject: [PATCH] Minor fixes on options. --- src/uxbox/ui/workspace/options.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/uxbox/ui/workspace/options.cljs b/src/uxbox/ui/workspace/options.cljs index 2bed8cad67..9dbe5824ca 100644 --- a/src/uxbox/ui/workspace/options.cljs +++ b/src/uxbox/ui/workspace/options.cljs @@ -178,7 +178,7 @@ :on-change on-opacity-change}]]]]))) (defmethod -render-menu :menu/rect-measures - [menu own shape] + [menu own shape local] (letfn [(on-size-change [attr event] (let [value (dom/event->value event) value (parse-int value 0) @@ -243,6 +243,7 @@ :type "number" :value (:rx shape "") :on-change (partial on-border-change :rx)}] + [:div.lock-size i/lock] [:input#width.input-text {:placeholder "ry" :type "number" @@ -516,7 +517,7 @@ (:icon menu)])] (let [menu (get +menus-by-id+ active-menu) menu (assoc menu :id active-menu)] - (-render-menu menu own shape))])))) + (-render-menu menu own shape local))])))) (def ^:static element-opts (mx/component