From 2e4d42e164a56cd9593bdbab640f7fd884ca5eb0 Mon Sep 17 00:00:00 2001 From: jahorton Date: Tue, 2 Jul 2019 09:03:22 +0700 Subject: [PATCH] Removes post-accept BSKP swallowing --- web/source/osk/banner.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web/source/osk/banner.ts b/web/source/osk/banner.ts index af3e7e5947..e484ba0259 100644 --- a/web/source/osk/banner.ts +++ b/web/source/osk/banner.ts @@ -657,13 +657,12 @@ namespace com.keyman.osk { tryRevert: () => boolean = function(this: SuggestionManager): boolean { if(this.recentAccept) { this.showRevert(); - return false; + this.swallowPrediction = true; } else if(this.doRevert) { this.doRevert = false; - return true; - } else { - return true; } + + return true; }.bind(this); /**