feat(typing): improve key hit accuracy and bump to 1.6.1

Add gap-filling hit regions, release-to-commit with slide-to-reselect,
touch intent offset, and full-pinyin next-key bias; cut release 1.6.1 (build 45).
This commit is contained in:
Rocky
2026-08-05 22:47:20 +08:00
parent 717902716a
commit 2ed16e1fbf
13 changed files with 1395 additions and 233 deletions
@@ -144,8 +144,10 @@ public final class LibrimeEngine: RimeEngineBridging {
return nil
}
let preedit = snapshot.preedit
let raw = bridge?.rawInput() ?? ""
composition = TypingComposition(
preedit: preedit,
rawInput: raw,
candidates: snapshot.candidates.enumerated().map { displayIndex, candidate in
TypingCandidate(
id: "\(preedit)|\(displayIndex)|\(candidate.index)|\(candidate.text)",