Merge pull request #136 from blad/update-object-creation
Fix Drawing Project Example
This commit is contained in:
commit
30683c6d5c
@ -2,7 +2,8 @@
|
||||
;
|
||||
(clear)
|
||||
;
|
||||
(def prev-pos {:x 0 :y 0})
|
||||
(def prev-pos:x 0)
|
||||
(def prev-pos:y 0)
|
||||
;
|
||||
(defn stroke-color
|
||||
(e)
|
||||
@ -34,4 +35,4 @@
|
||||
;
|
||||
(on "mouse-down" draw-circle)
|
||||
(on "mouse-up" draw-circle)
|
||||
(on "mouse-move" draw-line)
|
||||
(on "mouse-move" draw-line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user