aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index f64d1eaa1..9bc0a5d1c 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -615,7 +615,11 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor)
/**
* Mouse wheel with command key magnifies text.
+ * Enabling this code causes visual garbage to appear when scrolling
+ * horizontally on OS X 10.9 with a retina display.
+ * Pinch gestures and key commands can be used for magnification.
*/
+#ifdef SCROLL_WHEEL_MAGNIFICATION
- (void) scrollWheel: (NSEvent *) theEvent
{
if (([theEvent modifierFlags] & NSCommandKeyMask) != 0) {
@@ -624,6 +628,7 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor)
[super scrollWheel:theEvent];
}
}
+#endif
//--------------------------------------------------------------------------------------------------