mouseUp never called

by  connor

Kód: – (void) mouseDown:(NSEvent)event { [super mouseDown:event]; …. } Hibajelenség: – mouseUp nem fut. Oka: > Probably the superclass will setup a local event loop in mouseDown. I > think several of the view classes do this. That is exactly what’s going on. If you want to implement -mouseDown: and -mouseUp:, don’t call [super mouseDown:]. This is […]