Revision: 14407
http://sourceforge.net/p/skim-app/code/14407
Author: hofman
Date: 2024-07-31 14:55:54 +0000 (Wed, 31 Jul 2024)
Log Message:
-----------
set explicit hot spot
Modified Paths:
--------------
trunk/NSCursor_SKExtensions.m
Modified: trunk/NSCursor_SKExtensions.m
===================================================================
--- trunk/NSCursor_SKExtensions.m 2024-07-31 09:27:36 UTC (rev 14406)
+++ trunk/NSCursor_SKExtensions.m 2024-07-31 14:55:54 UTC (rev 14407)
@@ -346,8 +346,8 @@
cursor = [[NSCursor alloc] initWithImage:image hotSpot:hotspot];
[customCursors setObject:cursor forKey:@"closedHandBarCursor"];
- hotspot = [[self arrowCursor] hotSpot];
-
+ hotspot = NSMakePoint(4.0, 4.0);
+
image = [NSImage cursorTextNoteImageWithOutlineColor:cursorOutline
fillColor:cursorFill];
cursor = [[NSCursor alloc] initWithImage:image hotSpot:hotspot];
[customCursors setObject:cursor forKey:@"textNoteCursor"];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit