Revision: 26869 http://sourceforge.net/p/bibdesk/svn/26869 Author: hofman Date: 2021-09-14 08:57:50 +0000 (Tue, 14 Sep 2021) Log Message: ----------- Use old mask name, as symbolic font traits are only defined on 10.13+
Modified Paths: -------------- trunk/bibdesk/BDSKControlTableCellView.m Modified: trunk/bibdesk/BDSKControlTableCellView.m =================================================================== --- trunk/bibdesk/BDSKControlTableCellView.m 2021-09-14 06:30:27 UTC (rev 26868) +++ trunk/bibdesk/BDSKControlTableCellView.m 2021-09-14 08:57:50 UTC (rev 26869) @@ -65,7 +65,7 @@ else if (pointSize < [NSFont systemFontSizeForControlSize:NSRegularControlSize]) controlSize = NSSmallControlSize; if ([[[self control] cell] controlSize] != controlSize) { - BOOL isBold = ([[oldFont fontDescriptor] symbolicTraits] & NSFontDescriptorTraitBold) != 0; + BOOL isBold = ([[oldFont fontDescriptor] symbolicTraits] & NSBoldFontMask) != 0; pointSize = [NSFont systemFontSizeForControlSize:controlSize]; [[[self control] cell] setControlSize:controlSize]; [[self control] setFont:isBold ? [NSFont boldSystemFontOfSize:pointSize] : [NSFont systemFontOfSize:pointSize]]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit