mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
making double click handling more robust
This commit is contained in:
parent
187f58beea
commit
c8c45021da
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@
|
|||
|
||||
if (type == NSLeftMouseUp)
|
||||
{
|
||||
if ([theEvent clickCount] == 2)
|
||||
if ([theEvent clickCount] >= 2)
|
||||
{
|
||||
if (delegate != nil && [delegate respondsToSelector:
|
||||
@selector(textView:doubleClickedOnCell:inRect:)])
|
||||
|
@ -167,7 +167,7 @@
|
|||
|
||||
if (type == NSLeftMouseDown)
|
||||
{
|
||||
if ([theEvent clickCount] == 2)
|
||||
if ([theEvent clickCount] >= 2)
|
||||
{
|
||||
if (delegate != nil)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue