From ba529b9fd66a211015e1274e3bd4b5ffcfb1fe13 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 3 Dec 2020 09:04:43 +0100 Subject: [PATCH] :paperclip: Temprary comment some assertions. --- common/app/common/geom/shapes/rect.cljc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/app/common/geom/shapes/rect.cljc b/common/app/common/geom/shapes/rect.cljc index c788bb3630..b7a56e6fa9 100644 --- a/common/app/common/geom/shapes/rect.cljc +++ b/common/app/common/geom/shapes/rect.cljc @@ -13,10 +13,10 @@ [app.common.geom.shapes.common :as gco])) (defn rect->points [{:keys [x y width height]}] - (assert (number? x)) - (assert (number? y)) - (assert (and (number? width) (> width 0))) - (assert (and (number? height) (> height 0))) + ;; (assert (number? x)) + ;; (assert (number? y)) + ;; (assert (and (number? width) (> width 0))) + ;; (assert (and (number? height) (> height 0))) [(gpt/point x y) (gpt/point (+ x width) y) (gpt/point (+ x width) (+ y height))