aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-06-24 08:39:43 -0500
committerColin Okay <colin@cicadas.surf>2022-06-24 08:39:43 -0500
commit622add17d99c909b582b175f5e8378f9888cca8a (patch)
tree3ad950a98b84de1f50198611d9403f499b511e84 /examples
parentd92ad0e6b07d55287179ea3f9584e4923c3f34f8 (diff)
[modify] mousedown events default to the app itself
Diffstat (limited to 'examples')
-rw-r--r--examples/02-moving-bitmp.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/02-moving-bitmp.lisp b/examples/02-moving-bitmp.lisp
index 153ca1d..ca32b44 100644
--- a/examples/02-moving-bitmp.lisp
+++ b/examples/02-moving-bitmp.lisp
@@ -86,6 +86,9 @@
(bm2
(make-instance 'ww::bitmap
:texture (ww::get-asset "RootBear.png"))))
+
+ (ww::set-handler app #'wheelie)
+
;; first
(ww::refocus-on bm)
(ww::set-handler bm #'animate-move-thing )