mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: fixed combined modules selector icons color when dark mode is enable (#1311)
This commit is contained in:
@@ -563,6 +563,7 @@ internal class ModulePreview: NSStackView {
|
||||
self.spacing = 0
|
||||
|
||||
self.imageView.image = icon
|
||||
self.imageView.contentTintColor = .textBackgroundColor
|
||||
|
||||
self.addArrangedSubview(self.imageView)
|
||||
|
||||
|
||||
@@ -538,9 +538,7 @@ private class MenuItem: NSView {
|
||||
}
|
||||
imageView.frame = NSRect(x: 8, y: (32 - 18)/2, width: 18, height: 18)
|
||||
imageView.wantsLayer = true
|
||||
if #available(OSX 10.14, *) {
|
||||
imageView.contentTintColor = .labelColor
|
||||
}
|
||||
imageView.contentTintColor = .labelColor
|
||||
self.imageView = imageView
|
||||
|
||||
let titleView = TextView(frame: NSRect(x: 34, y: ((32 - 16)/2) + 1, width: 100, height: 16))
|
||||
|
||||
Reference in New Issue
Block a user