diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-02-01 14:26:33 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-02-01 14:26:33 +0000 |
commit | c3f6e3a108a017aa20ac645d5d6d9e75adca33b8 (patch) | |
tree | bf55d0ad11996459f2d587b50b2b115582934d34 /Source | |
parent | 5ce7a777259ba2dec699c97634ece9213802713c (diff) | |
download | sequelpro-c3f6e3a108a017aa20ac645d5d6d9e75adca33b8.tar.gz sequelpro-c3f6e3a108a017aa20ac645d5d6d9e75adca33b8.tar.bz2 sequelpro-c3f6e3a108a017aa20ac645d5d6d9e75adca33b8.zip |
• re-enabled possibility to change the font size of non-editable CMTextViews via ⌘+, ⌘-, or trackpad pinch in/out gesture
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMTextView.m | 4 |
1 files changed, 2 insertions, 2 deletions
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; |