mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-06 14:07:32 +00:00
chore(web): applies PR suggestion (manually)
This commit is contained in:
parent
53578a114f
commit
5476c7b1c3
1 changed files with 2 additions and 2 deletions
|
|
@ -180,12 +180,12 @@ namespace com.keyman {
|
|||
* Reset context when entering or exiting the active element.
|
||||
* Will also trigger OSK shift state / layer reset.
|
||||
**/
|
||||
pageFocusHandler: () => boolean = function(this: KeymanBase) {
|
||||
pageFocusHandler = () => {
|
||||
if(!this.uiManager.isActivating && this.osk?.vkbd) {
|
||||
this.core.resetContext(null);
|
||||
}
|
||||
return false;
|
||||
}.bind(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Triggers a KeymanWeb engine shutdown to facilitate a full system reset.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue