mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-10 10:55:33 +00:00
fix(common/models): max prediction wait check
This commit is contained in:
parent
59262dc747
commit
0845210f20
1 changed files with 1 additions and 1 deletions
|
|
@ -653,7 +653,7 @@ namespace correction {
|
|||
|
||||
shouldTimeout(): boolean {
|
||||
const now = Date.now();
|
||||
if(this.start - now > this.maxTrueTime) {
|
||||
if(now - this.start > this.maxTrueTime) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue