small comment
This commit is contained in:
parent
89b6a14515
commit
8ca2919319
|
@ -79,6 +79,7 @@
|
||||||
;; Mouse handling.
|
;; Mouse handling.
|
||||||
|
|
||||||
;; When the mouse is down, select the shape being clicked.
|
;; When the mouse is down, select the shape being clicked.
|
||||||
|
;; The shape being mousedowned is the one with focus.
|
||||||
(define (mousedown w v evt)
|
(define (mousedown w v evt)
|
||||||
(define selected-shape (find-shape (world-shapes w) (view-id v)))
|
(define selected-shape (find-shape (world-shapes w) (view-id v)))
|
||||||
(make-world (remove selected-shape (world-shapes w))
|
(make-world (remove selected-shape (world-shapes w))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user