On Fri, 17 Dec 2010 19:59:42 +0000 (GMT), Michael Drake wrote:

> You should only pass modifiers when there is also other actual mouse
> action.  So you should never get M2 (or M1 or M3) on its own.
> 
> Also, I'm concerned about "Loads of blanks".  You shouldn't get any
> blanks.  If the mouse isn't clicking or dragging the treeview shouldn't be
> informed about it.
> 
> And yeah, the two presses is wrong.  You should get just:
> 
>     mouse state: P1                               M2   
>     mouse state:       C1                         M2

Fixed all those, now working - thanks.

I copied the mouse code from the main browser version, which tracks
the mouse when no buttons are pressed, hence the blanks fault.

Chris

Reply via email to