From 11d08d6a24aac6b2c69161c38932c6ecc24900b9 Mon Sep 17 00:00:00 2001 From: Juan de la Cruz Date: Wed, 10 Feb 2016 13:35:24 +0100 Subject: [PATCH] changes in ruler --- src/uxbox/ui/workspace/canvas/ruler.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/uxbox/ui/workspace/canvas/ruler.cljs b/src/uxbox/ui/workspace/canvas/ruler.cljs index 1f79e1ed5..2356bebf4 100644 --- a/src/uxbox/ui/workspace/canvas/ruler.cljs +++ b/src/uxbox/ui/workspace/canvas/ruler.cljs @@ -55,14 +55,14 @@ [:line {:x1 x1 :y1 y1 :x2 x2 :y2 y2 :style {:cursor "cell"} - :stroke-width "2" + :stroke-width "1" :stroke "red"}] [:text {:transform (str "translate(" (+ x2 15) "," (- y2 10) ")")} [:tspan {:x "0" :dy="1.2em"} - (str "distance=" distance)] + (str distance " px")] [:tspan {:x "0" :y "20" :dy="1.2em"} - (str "angle=" angle)]]]))) + (str angle "°")]]]))) (defn- overlay-render [own local]