mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-11 18:17:42 +00:00
fix(web): prevent auto-select from keeping old autoaccept positions highlighted
This commit is contained in:
parent
145f34f434
commit
265f0265fd
1 changed files with 2 additions and 3 deletions
|
|
@ -773,11 +773,10 @@ export class SuggestionBanner extends Banner {
|
|||
if(suggestions.length > i) {
|
||||
const suggestion = suggestions[i];
|
||||
d.update(suggestion, optionFormat);
|
||||
if(this.predictionContext.selected == suggestion) {
|
||||
d.highlight(true);
|
||||
}
|
||||
d.highlight(this.predictionContext.selected == suggestion)
|
||||
} else {
|
||||
d.update(null, optionFormat);
|
||||
d.highlight(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue