mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 17:12:50 +00:00
acceptsFirstResponder cleanup
This commit is contained in:
1 parent
e4df7b10f6
commit
63e5d8f7ea
1 file changed
+1
-4
@@ -233,10 +233,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
|
||||
- (BOOL)acceptsFirstResponder
|
||||
{
|
||||
if ([self isSelectable])
|
||||
return YES;
|
||||
|
||||
return NO;
|
||||
return [self isSelectable]; // editable textviews are automatically selectable
|
||||
}
|
||||
|
||||
- (BOOL)becomeFirstResponder
|
||||
|
||||
Reference in new issue
Block a user