Tekkon 1.1.5 // Fix how Hsu arrange handles "v" key by default.

This commit is contained in:
ShikiSuen 2022-06-02 23:21:55 +08:00
parent 15439ab5b5
commit d67a6fd28f
1 changed files with 2 additions and 3 deletions

View File

@ -670,7 +670,7 @@ public struct Tekkon {
default: break
}
}
case "":
case "":
if intonation.isEmpty {
switch incomingPhonabet {
case "": consonant = "" //
@ -718,7 +718,6 @@ public struct Tekkon {
consonant.selfReplace("", "")
consonant.selfReplace("", "")
}
if vowel == "", semivowel.isEmpty { consonant.selfReplace("", "") }
if consonant == "", semivowel.isEmpty, vowel.isEmpty {
consonant = ""
vowel = ""
@ -1289,7 +1288,7 @@ public struct Tekkon {
///
static let mapHsuStaticKeys: [String: String] = [
"a": "", "b": "", "c": "", "d": "", "e": "", "f": "", "g": "", "h": "", "i": "", "j": "", "k": "",
"l": "", "m": "", "n": "", "o": "", "p": "", "r": "", "s": "", "t": "", "u": "", "v": "", "w": "",
"l": "", "m": "", "n": "", "o": "", "p": "", "r": "", "s": "", "t": "", "u": "", "v": "", "w": "",
"x": "", "y": "", "z": "", " ": " ",
]