pop-up for decorated editor snip on right-button click, not right-button-held-down

svn: r4958
This commit is contained in:
Matthew Flatt 2006-11-27 08:08:23 +00:00
parent 7b185d5ae4
commit bedaf6bbfd

View File

@ -35,7 +35,7 @@
(inherit get-admin)
(define/override (on-event dc x y editorx editory evt)
(cond
[(send evt get-right-down)
[(eq? (send evt get-event-type) 'right-down)
(let ([sx (- (send evt get-x) x)]
[sy (- (send evt get-y) y)]
[bil (box 0)]