diff --git a/web/source/osk/visualKeyboard.ts b/web/source/osk/visualKeyboard.ts index 9058de5251..ff63400d46 100644 --- a/web/source/osk/visualKeyboard.ts +++ b/web/source/osk/visualKeyboard.ts @@ -32,12 +32,6 @@ namespace com.keyman.osk { kbdDiv: HTMLDivElement; styleSheet: HTMLStyleElement; - /** - * Denotes when the VisualKeyboard needs to recalculate its layout geometry and - * text sizes. - */ - private needsLayout: boolean = true; - /** * The configured width for this VisualKeyboard. May be `undefined` or `null` * to allow automatic width scaling. @@ -232,15 +226,9 @@ namespace com.keyman.osk { } this.refreshLayout(); - } else { - this.needsLayout = true; } } - public setNeedsLayout(): void { - this.needsLayout = true; - } - public defaultDesktopFontSize(): number { return this.height ? this.height / 8 : undefined; }