diff --git a/frontend/src/uxbox/main/ui/shapes/bounding_box.cljs b/frontend/src/uxbox/main/ui/shapes/bounding_box.cljs index 38b33e4666..39a44aa130 100644 --- a/frontend/src/uxbox/main/ui/shapes/bounding_box.cljs +++ b/frontend/src/uxbox/main/ui/shapes/bounding_box.cljs @@ -63,7 +63,7 @@ :y2 10000 :style {:stroke line-color :stroke-width "1"} :opacity 0.4}] - + [:line {:x1 -10000 :y1 (:y point) :x2 10000 diff --git a/frontend/src/uxbox/util/geom/snap.cljs b/frontend/src/uxbox/util/geom/snap.cljs index 291abf3f32..2a2a0152c5 100644 --- a/frontend/src/uxbox/util/geom/snap.cljs +++ b/frontend/src/uxbox/util/geom/snap.cljs @@ -113,7 +113,7 @@ (defn search-snap-point "Search snap for a single point" [point coord snap-data filter-shapes] - + (let [coord-value (get point coord) ;; This gives a list of [value [[point1 uuid1] [point2 uuid2] ...] we need to remove @@ -144,7 +144,7 @@ ;; Frames doesn't contain zero. So we take the first frame (not (frames zero)) (-> shapes first :frame-id) - + ;; Otherwise the root frame is the common :else zero))) diff --git a/frontend/src/uxbox/util/perf.cljs b/frontend/src/uxbox/util/perf.cljs index 258b20a94d..2ce76a1d3d 100644 --- a/frontend/src/uxbox/util/perf.cljs +++ b/frontend/src/uxbox/util/perf.cljs @@ -81,7 +81,7 @@ (insert! name measure) (print-summary!)))) -(defn mesurable +(defn measurable [name f] (fn [& args] (uxbox.util.perf/with-measure name