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
abff2c6
..
91a2a34
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];