X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=KeyInputTextView.m;h=91a2a3453d797d1f2a1494469e16cddbf2166f43;hp=abff2c6060c56423724950f4d6d4fe1353911bd8;hb=68fe4de58269fc00e70e59453e05098ccd4341a2;hpb=60710a84810cfbfa39ada9a9e44f61ceb2f144c5 diff --git a/KeyInputTextView.m b/KeyInputTextView.m index abff2c6..91a2a34 100644 --- 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];