diff options
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -160,9 +160,8 @@ Here is a simple example where a handler is defined, from the pong game: #+begin_src lisp (ww:defhandler pong-mousemove (ww:on-mousemotion (app) - (setf (ww:x (paddle app)) - (- x (* 0.5 (ww:width (paddle app)))) - (dx (paddle app)) xrel))) + (setf (ww:x (paddle app)) (- x (* 0.5 (ww:width (paddle app)))) + (dx (paddle app)) xrel))) #+end_src See the example for details. |