mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
v2.11.27
This commit is contained in:
@@ -28,8 +28,8 @@ open class PopupWrapper: NSStackView, Popup_p {
|
||||
open var sizeCallback: ((NSSize) -> Void)? = nil
|
||||
|
||||
public init(_ typ: ModuleType, frame: NSRect) {
|
||||
self.title = typ.rawValue
|
||||
self.keyboardShortcut = Store.shared.array(key: "\(typ.rawValue)_popup_keyboardShortcut", defaultValue: []) as? [UInt16] ?? []
|
||||
self.title = typ.stringValue
|
||||
self.keyboardShortcut = Store.shared.array(key: "\(typ.stringValue)_popup_keyboardShortcut", defaultValue: []) as? [UInt16] ?? []
|
||||
|
||||
super.init(frame: frame)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user