aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2018-08-16 09:11:18 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2018-08-16 09:11:18 +1000
commit8c93fbff2d065993e14ddb250026063456c53883 (patch)
treef09f44f2202727f4007bb9ec6daae61a6eb6999c /cocoa/ScintillaView.mm
parent87f0182accdfb092f97f6d1560412931406ab2e1 (diff)
downloadscintilla-mirror-8c93fbff2d065993e14ddb250026063456c53883.tar.gz
Backport: For reverse arrow margin cursor, move hotspot to the tip of the arrow.
This fixes a bug where clicking seemed to affect the wrong margin. Backport of changeset 7075:bcf0028997ea.
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index f09af9fa4..5ff9457d4 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -1315,7 +1315,7 @@ sourceOperationMaskForDraggingContext: (NSDraggingContext) context
path = [bundle pathForResource: @"mac_cursor_flipped" ofType: @"tiff" inDirectory: nil];
image = [[[NSImage alloc] initWithContentsOfFile: path] autorelease];
- reverseArrowCursor = [[NSCursor alloc] initWithImage: image hotSpot: NSMakePoint(12, 2)];
+ reverseArrowCursor = [[NSCursor alloc] initWithImage: image hotSpot: NSMakePoint(15, 2)];
}
}