[squeak-dev] mouse enter/move/leave event confusion

tim Rowledge tim at rowledge.org
Wed Dec 2 19:11:40 UTC 2015


> On 02-12-2015, at 2:21 AM, marcel.taeumel <Marcel.Taeumel at hpi.de> wrote:
> yes, mouse-leave and mouse-enter events occur more than what a user would
> expect. Also, when you speed up your mouse movements there is a chance that
> you will not get a mouse-leave event at all.
> 

Oh dear. That really shouldn’t happen. 


> Find attached some code that works fine. :) Without gridding but that could
> easily be added.

Yah, that’s almost exactly what my code looks like wrt the events etc. The only difference is that my ‘cursor’ isn’t a submorph of the ‘playfield’. I wonder if that would help at all...


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Performance is easier to add than clarity.




More information about the Squeak-dev mailing list