Shiki: More candidate key presets.
This commit is contained in:
parent
95e9ab0d90
commit
fe4b37725c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue