Revision: 16608
http://sourceforge.net/p/skim-app/code/16608
Author: hofman
Date: 2026-10-04 21:45:54 +0000 (Sun, 04 Oct 2026)
Log Message:
-----------
no need to override focus ring on 11-15
Modified Paths:
--------------
trunk/SKSearchFieldCell.m
Modified: trunk/SKSearchFieldCell.m
===================================================================
--- trunk/SKSearchFieldCell.m 2026-10-04 21:44:35 UTC (rev 16607)
+++ trunk/SKSearchFieldCell.m 2026-10-04 21:45:54 UTC (rev 16608)
@@ -65,10 +65,8 @@
}
- (void)drawFocusRingMaskWithFrame:(NSRect)cellFrame inView:(NSView
*)controlView {
- if (@available(macOS 11.0, *)) {
- CGFloat r = 5.0;
- if (@available(macOS 26.0, *))
- r = 0.5 * NSHeight(cellFrame) - 1.0;
+ if (@available(macOS 26.0, *)) {
+ CGFloat r = 0.5 * NSHeight(cellFrame) - 1.0;
[[NSBezierPath bezierPathWithRoundedRect:NSInsetRect(cellFrame, 1.0,
1.0) xRadius:r yRadius:r] fill];
} else {
[super drawFocusRingMaskWithFrame:cellFrame inView:controlView];
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