mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-22 13:57:49 +00:00
chore(web): Revert "fix(web): adds newly-needed null guards due to new pattern"
This reverts commit 786c480742.
This commit is contained in:
parent
f9d0307144
commit
752a2e179c
1 changed files with 1 additions and 10 deletions
|
|
@ -31,7 +31,7 @@ export default class FloatingOSKView extends OSKView {
|
|||
dfltX: string;
|
||||
dfltY: string;
|
||||
|
||||
private layoutSerializer = new FloatingOSKCookieSerializer();
|
||||
layoutSerializer = new FloatingOSKCookieSerializer();
|
||||
|
||||
private titleBar: TitleBar;
|
||||
private resizeBar: ResizeBar;
|
||||
|
|
@ -233,15 +233,6 @@ export default class FloatingOSKView extends OSKView {
|
|||
* @return {boolean}
|
||||
*/
|
||||
private loadPersistedLayout(): void {
|
||||
/*
|
||||
If a keyboard is available during OSK construction, it is possible
|
||||
for this field to be `undefined`. `loadPersistedLayout` will be called
|
||||
later in construction, so it's safe to skip.
|
||||
*/
|
||||
if(!this.layoutSerializer) {
|
||||
return;
|
||||
}
|
||||
|
||||
let c = this.layoutSerializer.loadWithDefaults({
|
||||
visible: 1,
|
||||
userSet: 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue