mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
fix: ((のような入力でっが入る問題を修正
This commit is contained in:
@ -510,7 +510,7 @@ extension ComposingText {
|
||||
if let lastElement = convertTargetElements.last, lastElement.inputStyle == .roman2kana, rightIndex < originalElements.endIndex {
|
||||
let nextFirstElement = originalElements[rightIndex]
|
||||
|
||||
if !lastElement.string.hasSuffix("n") && lastElement.string.last == nextFirstElement.character {
|
||||
if !lastElement.string.hasSuffix("n") && lastElement.string.last == nextFirstElement.character && CharacterUtils.isRomanLetter(nextFirstElement.character) {
|
||||
// 書き換える
|
||||
convertTargetElements[convertTargetElements.endIndex - 1].string.removeLast()
|
||||
convertTargetElements.append(ConvertTargetElement(string: ["っ"], inputStyle: .direct))
|
||||
|
Reference in New Issue
Block a user