Revision: 15102 http://sourceforge.net/p/skim-app/code/15102 Author: hofman Date: 2025-04-08 14:29:02 +0000 (Tue, 08 Apr 2025) Log Message: ----------- remove substracting 0
Modified Paths: -------------- trunk/SKFontWell.m Modified: trunk/SKFontWell.m =================================================================== --- trunk/SKFontWell.m 2025-04-08 09:10:17 UTC (rev 15101) +++ trunk/SKFontWell.m 2025-04-08 14:29:02 UTC (rev 15102) @@ -440,7 +440,7 @@ NSRect rect = NSMakeRect(NSMaxX(frame) - 12.0, 2.0, 10.0, 10.0); NSAttributedString *T = [[NSAttributedString alloc] initWithString:@"T" attributes:@{NSForegroundColorAttributeName: [NSColor labelColor], NSFontAttributeName: [NSFont fontWithName:@"Palatino-Bold" size:8.0]}]; NSSize size = [T size]; - [T drawInRect:NSMakeRect(NSMinX(rect) - ceil(size.width) - 2.0, floor(NSMidY(rect) - 0.5 * size.height) - 0.0, size.width, size.height)]; + [T drawInRect:NSMakeRect(NSMinX(rect) - ceil(size.width) - 2.0, floor(NSMidY(rect) - 0.5 * size.height), size.width, size.height)]; [NSGraphicsContext saveGraphicsState]; [[self textColor] drawSwatchInRect:rect]; if (SKHasDarkAppearance()) { 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