mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 01:08:21 +00:00
Stop scrollbar crash. Cocoa. NPOB.
This commit is contained in:
parent
d1729df1cf
commit
185bf8bd33
@ -405,5 +405,18 @@ nsScrollbar::IsEnabled(PRBool *aState)
|
||||
[super mouseDown:theEvent];
|
||||
}
|
||||
|
||||
//
|
||||
// -mouseMoved
|
||||
//
|
||||
// our parent view will try to forward this message down to us. The
|
||||
// default behavior for NSResponder is to forward it up the chain. Can you
|
||||
// say "infinite recursion"? I thought so. Just stub out the action to
|
||||
// break the cycle of madness.
|
||||
//
|
||||
- (void)mouseMoved:(NSEvent*)theEvent
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user