diff --git a/web/src/engine/osk/src/views/oskView.ts b/web/src/engine/osk/src/views/oskView.ts index 1fce9f557ef..6163b8ba774 100644 --- a/web/src/engine/osk/src/views/oskView.ts +++ b/web/src/engine/osk/src/views/oskView.ts @@ -201,7 +201,6 @@ export default abstract class OSKView private _baseFontSize: ParsedLengthStyle; private needsLayout: boolean = true; - private initialized: boolean; private _animatedHideTimeout: number; @@ -258,9 +257,6 @@ export default abstract class OSKView if(this.hostDevice.touchable) { this.setBaseTouchEventListeners(); } - - this._Box.style.display = 'none'; - this.initialized = true; } protected get configuration(): Configuration { @@ -550,7 +546,7 @@ export default abstract class OSKView // // Note: ensures that the _instances_ are the same; it's possible to make new instances // to force a refresh. Does not perform a deep-equals. - if(this.initialized && this.keyboardData?.keyboard == keyboardData?.keyboard && this.keyboardData?.metadata == keyboardData?.metadata) { + if(this.keyboardData?.keyboard == keyboardData?.keyboard && this.keyboardData?.metadata == keyboardData?.metadata) { return; } this.keyboardData = keyboardData;