Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions FitFileExplorer/src/FITSelectionContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class FITSelectionContext {
paragraphStyle.lineBreakMode = NSLineBreakMode.byTruncatingMiddle

let attr = [ NSAttributedString.Key.font:NSFont.systemFont(ofSize: 12.0),
NSAttributedString.Key.foregroundColor:NSColor.textColor,
NSAttributedString.Key.foregroundColor:NSColor.labelColor,
NSAttributedString.Key.paragraphStyle: paragraphStyle]

return NSAttributedString(attr, with: display)
Expand All @@ -426,8 +426,8 @@ class FITSelectionContext {
let paragraphStyle = NSMutableParagraphStyle()
paragraphStyle.lineBreakMode = NSLineBreakMode.byTruncatingMiddle

let disabledLabelColor = NSColor.disabledControlTextColor
let highlightLabelColor = NSColor.textColor
let disabledLabelColor = NSColor.tertiaryLabelColor
let highlightLabelColor = NSColor.labelColor

var attr = [ NSAttributedString.Key.font:NSFont.systemFont(ofSize: 12.0),
NSAttributedString.Key.foregroundColor:highlightLabelColor,
Expand Down