mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: fixed the NSButton width in the settings (#708)
This commit is contained in:
@@ -248,7 +248,6 @@ public extension NSView {
|
||||
toggle = switchButton
|
||||
} else {
|
||||
let button: NSButton = NSButton()
|
||||
button.widthAnchor.constraint(equalToConstant: button.bounds.width).isActive = true
|
||||
button.setButtonType(.switch)
|
||||
button.state = state
|
||||
button.title = ""
|
||||
|
||||
Reference in New Issue
Block a user