Revision: 15061 http://sourceforge.net/p/skim-app/code/15061 Author: hofman Date: 2025-03-31 15:45:57 +0000 (Mon, 31 Mar 2025) Log Message: ----------- no need to override valueClassForBinding for fontName and fontSize
Modified Paths: -------------- trunk/SKFontWell.m Modified: trunk/SKFontWell.m =================================================================== --- trunk/SKFontWell.m 2025-03-31 15:39:25 UTC (rev 15060) +++ trunk/SKFontWell.m 2025-03-31 15:45:57 UTC (rev 15061) @@ -79,11 +79,7 @@ } - (Class)valueClassForBinding:(NSString *)binding { - if ([binding isEqualToString:FONTNAME_KEY]) - return [NSString class]; - else if ([binding isEqualToString:FONTNAME_KEY]) - return [NSNumber class]; - else if ([binding isEqualToString:TEXTCOLOR_KEY]) + if ([binding isEqualToString:TEXTCOLOR_KEY]) return [NSColor class]; else return [super valueClassForBinding:binding]; 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