PrefWindow // Disable Voltaire-related settings.

This commit is contained in:
ShikiSuen 2022-09-28 22:09:13 +08:00
parent d531f04fa9
commit 738ecc0a8f
1 changed files with 4 additions and 2 deletions

View File

@ -135,6 +135,7 @@ class ctlPrefWindow: NSWindowController {
}
selectionKeyComboBox.stringValue = candidateSelectionKeys
selectionKeyComboBox.isEnabled = false // IMKCandidates
}
// CNS
@ -281,8 +282,9 @@ extension ctlPrefWindow: NSToolbarDelegate {
}
var toolbarIdentifiers: [NSToolbarItem.Identifier] {
if #unavailable(macOS 10.13) { return [.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard] }
return [.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDevZone]
// if #unavailable(macOS 10.13) { return [.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard] }
// return [.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDevZone]
[.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard]
}
func toolbarDefaultItemIdentifiers(_: NSToolbar) -> [NSToolbarItem.Identifier] {