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 +- doc/ScintillaHistory.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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)]; } } diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 38b1263aa..055828d30 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -575,6 +575,9 @@ Fix crash on Win32 when switching technology to default after setting bidirectional mode.
  • + Fix margin cursor on Cocoa to point more accurately. +
  • +
  • Fix SciTE crash on GTK+ when using director interface.
  • -- cgit v1.2.3