yield during mouse-moved events in cocoa so gadgets have a chance to redraw

db4
Joe Groff 2009-05-03 20:33:03 -05:00
parent 585ea8da54
commit 045635cdf2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ threads combinators math.rectangles ;
IN: ui.backend.cocoa.views
: send-mouse-moved ( view event -- )
[ mouse-location ] [ drop window ] 2bi move-hand fire-motion ;
[ mouse-location ] [ drop window ] 2bi move-hand fire-motion yield ;
: button ( event -- n )
#! Cocoa -> Factor UI button mapping