mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-27 18:57:42 +00:00
chore(web): cleans up intermediate new prop
This commit is contained in:
parent
59a5d6cba0
commit
0992909831
1 changed files with 0 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue