X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=KeyInputTextView.m;h=6c8e0948db6af42107e8c9b2e6b3955a8865fd1f;hp=91a2a3453d797d1f2a1494469e16cddbf2166f43;hb=f9903acac24bb4be43e370d5f3eb942510f727e1;hpb=bf0910f8650c79e310a970b0d9c382ba4bed1dad diff --git a/KeyInputTextView.m b/KeyInputTextView.m index 91a2a34..6c8e094 100644 --- a/KeyInputTextView.m +++ b/KeyInputTextView.m @@ -161,12 +161,12 @@ } - (BOOL)becomeFirstResponder { - [self setBackgroundColor:[NSColor selectedTextBackgroundColor]]; + self.backgroundColor = NSColor.selectedTextBackgroundColor; return [super becomeFirstResponder]; } - (BOOL)resignFirstResponder { - [self setBackgroundColor:[NSColor textBackgroundColor]]; + self.backgroundColor = NSColor.textBackgroundColor; return [super resignFirstResponder]; }