mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 12:18:32 +00:00
📎 Temprary comment some assertions.
This commit is contained in:
parent
34d15e4192
commit
ba529b9fd6
@ -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…
x
Reference in New Issue
Block a user