Revision: 15084
          http://sourceforge.net/p/skim-app/code/15084
Author:   hofman
Date:     2025-04-04 15:34:46 +0000 (Fri, 04 Apr 2025)
Log Message:
-----------
inset focus ring for line well matching text field

Modified Paths:
--------------
    trunk/SKLineWell.m

Modified: trunk/SKLineWell.m
===================================================================
--- trunk/SKLineWell.m  2025-04-04 15:32:51 UTC (rev 15083)
+++ trunk/SKLineWell.m  2025-04-04 15:34:46 UTC (rev 15084)
@@ -269,11 +269,11 @@
 }
 
 - (NSRect)focusRingMaskBounds {
-    return [self bounds];
+    return NSInsetRect([self bounds], 1.0, 1.0);
 }
 
 - (void)drawFocusRingMask {
-    NSRectFill([self bounds]);
+    NSRectFill([self focusRingMaskBounds]);
 }
 
 - (NSImage *)dragImage {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to