mirror of
https://github.com/penpot/penpot.git
synced 2025-02-24 07:46:13 -05:00
📎 Temprary comment some assertions.
This commit is contained in:
parent
34d15e4192
commit
ba529b9fd6
1 changed files with 4 additions and 4 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue