projects
/
enjoyable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60710a8
)
Allow clicking on the key field directly.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Thu, 28 Feb 2013 23:38:59 +0000
(
00:38
+0100)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Thu, 28 Feb 2013 23:38:59 +0000
(
00:38
+0100)
KeyInputTextView.m
patch
|
blob
|
history
diff --git
a/KeyInputTextView.m
b/KeyInputTextView.m
index abff2c6060c56423724950f4d6d4fe1353911bd8..91a2a3453d797d1f2a1494469e16cddbf2166f43 100644
(file)
--- a/
KeyInputTextView.m
+++ b/
KeyInputTextView.m
@@
-187,6
+187,11
@@
}
}
+- (void)mouseDown:(NSEvent *)theEvent {
+ [targetController keyChanged];
+ [self.window makeFirstResponder:self];
+}
+
- (void)flagsChanged:(NSEvent *)evt {
self.vk = evt.keyCode;
[targetController keyChanged];