diff --git a/examples/projects/drawing.lisp b/examples/projects/drawing.lisp index 39fccbf..80e6acc 100644 --- a/examples/projects/drawing.lisp +++ b/examples/projects/drawing.lisp @@ -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) \ No newline at end of file +(on "mouse-move" draw-line)