mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: prepare to support macOS 10.13
This commit is contained in:
@@ -371,7 +371,9 @@ internal class WidgetPreview: NSStackView {
|
||||
button.image = image
|
||||
}
|
||||
button.imageScaling = .scaleProportionallyDown
|
||||
button.contentTintColor = .lightGray
|
||||
if #available(OSX 10.14, *) {
|
||||
button.contentTintColor = .lightGray
|
||||
}
|
||||
button.isBordered = false
|
||||
button.action = #selector(self.toggleSettings)
|
||||
button.target = self
|
||||
|
||||
Reference in New Issue
Block a user