Settings // Use unique toolbar identifiers.
This commit is contained in:
parent
b8f5077198
commit
f4a407a860
|
@ -61,7 +61,7 @@ public class CtlSettingsCocoa: NSWindowController, NSWindowDelegate {
|
||||||
|
|
||||||
var preferencesTitleName = NSLocalizedString("vChewing Preferences…", comment: "")
|
var preferencesTitleName = NSLocalizedString("vChewing Preferences…", comment: "")
|
||||||
preferencesTitleName.removeLast()
|
preferencesTitleName.removeLast()
|
||||||
let toolbar = NSToolbar(identifier: "preference toolbar")
|
let toolbar = NSToolbar(identifier: "vChewing.Settings.AppKit.Toolbar")
|
||||||
toolbar.allowsUserCustomization = false
|
toolbar.allowsUserCustomization = false
|
||||||
toolbar.autosavesConfiguration = false
|
toolbar.autosavesConfiguration = false
|
||||||
toolbar.sizeMode = .default
|
toolbar.sizeMode = .default
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class CtlSettingsUI: NSWindowController, NSWindowDelegate {
|
||||||
.fixedSize(horizontal: true, vertical: false)
|
.fixedSize(horizontal: true, vertical: false)
|
||||||
.ignoresSafeArea()
|
.ignoresSafeArea()
|
||||||
)
|
)
|
||||||
let toolbar = NSToolbar(identifier: "preference toolbar")
|
let toolbar = NSToolbar(identifier: "vChewing.Settings.SwiftUI.Toolbar")
|
||||||
toolbar.allowsUserCustomization = false
|
toolbar.allowsUserCustomization = false
|
||||||
toolbar.autosavesConfiguration = false
|
toolbar.autosavesConfiguration = false
|
||||||
toolbar.sizeMode = .default
|
toolbar.sizeMode = .default
|
||||||
|
|
Loading…
Reference in New Issue