From 598a235bb85d060068b52c2fc0c8decdc701c7ef Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 5 May 2020 13:32:58 +0200 Subject: [PATCH] :lipstick: Minor whitespace cleaning. --- frontend/src/uxbox/main/ui/shapes/bounding_box.cljs | 2 +- frontend/src/uxbox/util/geom/snap.cljs | 4 ++-- frontend/src/uxbox/util/perf.cljs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/uxbox/main/ui/shapes/bounding_box.cljs b/frontend/src/uxbox/main/ui/shapes/bounding_box.cljs index 38b33e466..39a44aa13 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 291abf3f3..2a2a0152c 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 258b20a94..2ce76a1d3 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