From c3f6e3a108a017aa20ac645d5d6d9e75adca33b8 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 1 Feb 2010 14:26:33 +0000 Subject: =?UTF-8?q?=E2=80=A2=20re-enabled=20possibility=20to=20change=20th?= =?UTF-8?q?e=20font=20size=20of=20non-editable=20CMTextViews=20via=20?= =?UTF-8?q?=E2=8C=98+,=20=E2=8C=98-,=20or=20trackpad=20pinch=20in/out=20ge?= =?UTF-8?q?sture?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CMTextView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source') diff --git a/Source/CMTextView.m b/Source/CMTextView.m index 2e82480a..46ce0227 100644 --- a/Source/CMTextView.m +++ b/Source/CMTextView.m @@ -1425,12 +1425,12 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) return; } if(curFlags & NSCommandKeyMask) { - if([charactersIgnMod isEqualToString:@"+"] && [self isEditable]) // increase text size by 1; ⌘+ and numpad + + if([charactersIgnMod isEqualToString:@"+"]) // increase text size by 1; ⌘+ and numpad + { [self makeTextSizeLarger]; return; } - if([charactersIgnMod isEqualToString:@"-"] && [self isEditable]) // decrease text size by 1; ⌘- and numpad - + if([charactersIgnMod isEqualToString:@"-"]) // decrease text size by 1; ⌘- and numpad - { [self makeTextSizeSmaller]; return; -- cgit v1.2.3