Correct colour sliders to work in flipped views and simplified code.

Let text fields and controls pass on not used mouse down events to next
responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25707 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-12-08 22:12:48 +00:00
parent 8730f4cab8
commit ec5e0a3c38
5 changed files with 90 additions and 136 deletions

View file

@ -820,7 +820,10 @@ static NSNotificationCenter *nc;
// If not enabled ignore mouse clicks
if (![self isEnabled])
return;
{
[super mouseDown: theEvent];
return;
}
// Ignore multiple clicks, if configured to do so
if (_ignoresMultiClick && ([theEvent clickCount] > 1))