mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-02 03:08:22 +00:00
refacturing
This commit is contained in:
1 parent
84a3ee209a
commit
4510b69798
1 file changed
+1
-1
@@ -254,7 +254,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
|
||||
- (void)_windowDidBecomeKey:(CPNotification)aNotification
|
||||
{
|
||||
if ([[self window] isKeyWindow] && [[self window] firstResponder] === self)
|
||||
if ([self _isFocused])
|
||||
[self updateInsertionPointStateAndRestartTimer:YES];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user