Shiki: More candidate key presets.

This commit is contained in:
ShikiSuen 2022-01-16 14:14:29 +08:00
parent 963ee93528
commit d1ce01889b
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ extension RangeReplaceableCollection where Element: Hashable {
basisKeyboardLayoutButton.select(chosenItem ?? usKeyboardLayoutItem) basisKeyboardLayoutButton.select(chosenItem ?? usKeyboardLayoutItem)
selectionKeyComboBox.usesDataSource = false selectionKeyComboBox.usesDataSource = false
selectionKeyComboBox.removeAllItems() selectionKeyComboBox.removeAllItems()
selectionKeyComboBox.addItems(withObjectValues: [Preferences.defaultKeys, "ASDFGHJKL", "ASDFZXCVB"]) selectionKeyComboBox.addItems(withObjectValues: [Preferences.defaultKeys, "234567890", "QWERTYUIO", "QWERTASDF", "ASDFGHJKL", "ASDFZXCVB"])
var candidateSelectionKeys = Preferences.candidateKeys ?? Preferences.defaultKeys var candidateSelectionKeys = Preferences.candidateKeys ?? Preferences.defaultKeys
if candidateSelectionKeys.isEmpty { if candidateSelectionKeys.isEmpty {