mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-31 12:47:43 +00:00
fix(common/models): fixes post-wordbreak suggestions
This commit is contained in:
parent
340220642c
commit
07daee7b16
2 changed files with 2 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ class ModelCompositor {
|
|||
if(this.isEmpty(inputTransform) || this.isWhitespace(inputTransform)) {
|
||||
newEmptyToken = true;
|
||||
prefixTransform = inputTransform;
|
||||
context = postContext; // Ensure the whitespace token is preapplied!
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -690,6 +690,7 @@ namespace com.keyman.osk {
|
|||
|
||||
// Do we have a keep suggestion? If so, remove it from the list so that we can control its display position
|
||||
// and prevent it from being hidden after reversion operations.
|
||||
this.keepSuggestion = null;
|
||||
for(let s of suggestions) {
|
||||
if(s.tag == 'keep') {
|
||||
this.keepSuggestion = s as Keep;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue