From 793137035656a39fa70d918e1be9fcae6fe3bad8 Mon Sep 17 00:00:00 2001 From: Bladymir Tellez Date: Fri, 21 Aug 2020 08:35:38 -0500 Subject: [PATCH] Fix Drawing Example --- examples/projects/drawing.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)