mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
Remove debug printlns from draw ns.
This commit is contained in:
parent
8f078876f0
commit
a55d3655cf
1 changed files with 0 additions and 3 deletions
|
@ -45,8 +45,6 @@
|
||||||
(letfn [(init-shape [shape]
|
(letfn [(init-shape [shape]
|
||||||
(let [{:keys [x y] :as point} @wb/mouse-canvas-a
|
(let [{:keys [x y] :as point} @wb/mouse-canvas-a
|
||||||
shape (sh/-initialize shape {:x1 x :y1 y :x2 x :y2 y})]
|
shape (sh/-initialize shape {:x1 x :y1 y :x2 x :y2 y})]
|
||||||
|
|
||||||
(println "start" point)
|
|
||||||
(reset! +drawing-shape+ shape)
|
(reset! +drawing-shape+ shape)
|
||||||
(reset! +drawing-position+ (assoc point :lock false))
|
(reset! +drawing-position+ (assoc point :lock false))
|
||||||
|
|
||||||
|
@ -59,7 +57,6 @@
|
||||||
(rx/subscribe $ on-value nil on-complete)))))
|
(rx/subscribe $ on-value nil on-complete)))))
|
||||||
|
|
||||||
(on-value [[point ctrl?]]
|
(on-value [[point ctrl?]]
|
||||||
(println "on-value" ctrl? point)
|
|
||||||
(reset! +drawing-position+ (assoc point :lock ctrl?)))
|
(reset! +drawing-position+ (assoc point :lock ctrl?)))
|
||||||
|
|
||||||
(on-complete []
|
(on-complete []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue