diff --git a/frontend/src/uxbox/util/geom/point.cljs b/frontend/src/uxbox/util/geom/point.cljs index 7add1510a..27af79e90 100644 --- a/frontend/src/uxbox/util/geom/point.cljs +++ b/frontend/src/uxbox/util/geom/point.cljs @@ -31,6 +31,9 @@ (seq? v)) (Point. (first v) (second v)) + (map? v) + (Point. (:x v) (:y v)) + (number? v) (Point. v v)