mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:20:38 +00:00
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:
parent
1da7d6f33f
commit
9c8d8b8015
5 changed files with 90 additions and 136 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue