From e32711dead461c0c612802a1d8b6dd02eb668e3c Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Thu, 16 Aug 2018 09:11:18 +1000 Subject: 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. --- cocoa/ScintillaView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 75f3c4f41..05fdf5984 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -1195,7 +1195,7 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) { path = [bundle pathForResource: @"mac_cursor_flipped" ofType: @"tiff" inDirectory: nil]; image = [[NSImage alloc] initWithContentsOfFile: path]; - reverseArrowCursor = [[NSCursor alloc] initWithImage: image hotSpot: NSMakePoint(12, 2)]; + reverseArrowCursor = [[NSCursor alloc] initWithImage: image hotSpot: NSMakePoint(15, 2)]; } } -- cgit v1.2.3