fix(web): right, contextDevice is private; util.device matches it

This commit is contained in:
Joshua A. Horton 2022-07-15 08:42:44 +07:00
parent 1d108dbfaa
commit 58199d73bc

View file

@ -186,7 +186,7 @@ namespace com.keyman {
* Will also trigger OSK shift state / layer reset.
**/
pageFocusHandler = () => {
if(!this.uiManager.isActivating && this.osk?.vkbd && this.core.contextDevice.touchable) {
if(!this.uiManager.isActivating && this.osk?.vkbd && this.util.device.touchable) {
this.core.keyboardProcessor._UpdateVKShift(null);
}
return false;