X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;ds=sidebyside;f=KeyInputTextView.m;h=6c8e0948db6af42107e8c9b2e6b3955a8865fd1f;hb=1700c86669723045bf7abd177ca519f47656e995;hp=91a2a3453d797d1f2a1494469e16cddbf2166f43;hpb=68fe4de58269fc00e70e59453e05098ccd4341a2;p=enjoyable.git 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]; }