Fix cell color on 10.14,

This commit is contained in:
Damiano Galassi committed 2018-10-31 15:24:02 +01:00
1 parent d6ce3e8daf
commit 3c4a386a4c
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ import Cocoa
// MARK: - Attributed styles
private func monospaceAttributes(size: CGFloat, aligment: NSTextAlignment, headIndent: CGFloat = -10.0, firstLineHeadIndent: CGFloat = 0, bold: Bool, color: NSColor = NSColor.gray) -> [NSAttributedString.Key : Any] {
private func monospaceAttributes(size: CGFloat, aligment: NSTextAlignment, headIndent: CGFloat = -10.0, firstLineHeadIndent: CGFloat = 0, bold: Bool, color: NSColor = NSColor.secondaryLabelColor) -> [NSAttributedString.Key : Any] {
let ps = NSParagraphStyle.default.mutableCopy() as! NSMutableParagraphStyle
ps.firstLineHeadIndent = firstLineHeadIndent
ps.headIndent = headIndent