Revision: 10200
http://sourceforge.net/p/skim-app/code/10200
Author: hofman
Date: 2018-12-29 10:35:42 +0000 (Sat, 29 Dec 2018)
Log Message:
-----------
highlight by stroking boundary
Modified Paths:
--------------
trunk/SKFontWell.m
trunk/SKLineWell.m
Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m 2018-12-28 22:15:07 UTC (rev 10199)
+++ trunk/SKFontWell.m 2018-12-29 10:35:42 UTC (rev 10200)
@@ -514,8 +514,8 @@
if ([self isHighlighted]) {
[NSGraphicsContext saveGraphicsState];
// @@ Dark mode
- [[[NSColor controlTextColor] colorWithAlphaComponent:0.3] setFill];
- NSFrameRectWithWidthUsingOperation(frame, 1.0,
SKHasDarkAppearance(controlView) ? NSCompositePlusLighter :
NSCompositePlusDarker);
+ [[[NSColor controlTextColor] colorWithAlphaComponent:0.3] setStroke];
+ [NSBezierPath strokeRect:NSInsetRect(frame, 0.5, 0.5)];
[NSGraphicsContext restoreGraphicsState];
}
Modified: trunk/SKLineWell.m
===================================================================
--- trunk/SKLineWell.m 2018-12-28 22:15:07 UTC (rev 10199)
+++ trunk/SKLineWell.m 2018-12-29 10:35:42 UTC (rev 10200)
@@ -281,8 +281,8 @@
if ([self isHighlighted]) {
[NSGraphicsContext saveGraphicsState];
// @@ Dark mode
- [[[NSColor controlTextColor] colorWithAlphaComponent:0.3] setFill];
- NSFrameRectWithWidthUsingOperation(bounds, 1.0,
SKHasDarkAppearance(self) ? NSCompositePlusLighter : NSCompositePlusDarker);
+ [[[NSColor controlTextColor] colorWithAlphaComponent:0.3] setStroke];
+ [NSBezierPath strokeRect:NSInsetRect(bounds, 0.5, 0.5)];
[NSGraphicsContext restoreGraphicsState];
}
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