mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-25 17:17:43 +00:00
docs(web): a few comments
This commit is contained in:
parent
9bc01bee5f
commit
d2719f028e
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ export class ContextHost extends Mock {
|
|||
const preInput = transcription.preInput;
|
||||
// If our saved state matches the `preInput` from the incoming transcription, just reuse its transform.
|
||||
// Will generally not match during multitap operations, though.
|
||||
//
|
||||
// Helps ensure backspaces pass through even if we don't currently have text available in context for them.
|
||||
if(preInput.text == savedState.text && preInput.selStart == savedState.selStart && preInput.selEnd == savedState.selEnd) {
|
||||
transform = transcription.transform;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue