Mouse events on a modal component


#1

Is there any reason why the mouseUp/Down callbacks wouldn’t be called when a component (not a window) has its runModalLoop() method called?

My component seems to be ignoring mouse events, and I’ve been staring at this block of code now for about half hour and I can’t see what I’ve screwed up. :?


#2

so, my hitTest was failing because the component I had attached my modal component to has an irregular shape, and I forgot to factor in that hitTests are propogated downwards. :roll:

carry on as you were.


#3

ah yes.

the old spot-the-fucker-straight-after-posting syndrome.

quite susceptible to that myself.


#4

Posted: 19 Jan 2006 03:38 pm

Posted: 19 Jan 2006 04:42 pm

Well, not exactly ‘straight’ after posting, more like “bugger this, I’m gonna have a beer, watch some smut, and get back to fixing crap when I can be arsed,” and then spotting the fucker right after I look at it.


#5