feat: added a button to show/hide a fan control panel (#1416)

This commit is contained in:
Serhiy Mytrovtsiy
2023-05-02 17:56:14 +02:00
parent ba1672fa32
commit 550cd7ad35
7 changed files with 132 additions and 51 deletions

View File

@@ -0,0 +1,26 @@
{
"images" : [
{
"filename" : "outline_tune_black_18pt_1x.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "outline_tune_black_18pt_2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "outline_tune_black_18pt_3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

View File

@@ -303,7 +303,6 @@ public func separatorView(_ title: String, origin: NSPoint = NSPoint(x: 0, y: 0)
labelView.alignment = .center
labelView.textColor = .secondaryLabelColor
labelView.font = NSFont.systemFont(ofSize: 12, weight: .medium)
labelView.stringValue = title
view.addSubview(labelView)

View File

@@ -246,6 +246,7 @@ public extension Notification.Name {
static let widgetRearrange = Notification.Name("widgetRearrange")
static let moduleRearrange = Notification.Name("moduleRearrange")
static let pause = Notification.Name("pause")
static let toggleFanControl = Notification.Name("toggleFanControl")
}
public var isARM: Bool {