ux: use primary text color in display label
parent
f7430d74a7
commit
2c610258d1
|
|
@ -453,7 +453,7 @@ private struct VibrantLabelView: NSViewRepresentable {
|
||||||
label.cell?.isScrollable = false
|
label.cell?.isScrollable = false
|
||||||
label.setContentHuggingPriority(.defaultLow, for: .horizontal)
|
label.setContentHuggingPriority(.defaultLow, for: .horizontal)
|
||||||
label.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
|
label.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
|
||||||
label.textColor = .labelColor
|
label.textColor = .textColor
|
||||||
|
|
||||||
let container = ClickCatcher(onTap: onTap)
|
let container = ClickCatcher(onTap: onTap)
|
||||||
container.addSubview(label)
|
container.addSubview(label)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue