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
commite32711dead461c0c612802a1d8b6dd02eb668e3c (patch)
tree21b93809c5382fc730fc6183cbaf050206252f08 /cocoa/ScintillaView.mm
parent0a5fb31779d68807ea08807b89f1b43e8f09ea49 (diff)
downloadscintilla-mirror-e32711dead461c0c612802a1d8b6dd02eb668e3c.tar.gz
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.
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 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)];
}
}