From 76fa9bbd852fdb2d47c8cf3d539da805bd2f9b53 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Wed, 6 Jul 2022 09:51:13 -0500 Subject: [bugfix] get-rect (container); [modify] contains-point-p modification to contains-point-p in order to handle events on objects in containers correctly; i.e. event doesn't fire if object is not being drawn. --- examples/07-renderarea.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/07-renderarea.lisp') diff --git a/examples/07-renderarea.lisp b/examples/07-renderarea.lisp index ead322f..78d116b 100644 --- a/examples/07-renderarea.lisp +++ b/examples/07-renderarea.lisp @@ -53,8 +53,7 @@ (ww::add-unit cube-container cube) (ww::add-unit app cube-container) - (describe cube-container) - )) + (describe cube-container))) (defun start () @@ -63,6 +62,7 @@ :fps 30 :width 800 :height 600 + :refocus-on-mousedown-p nil :title "A scrollable area." :asset-root (merge-pathnames "examples/" -- cgit v1.2.3