support preview Mode

This commit is contained in:
mario.gk 2020-05-07 21:27:07 +08:00
parent cbecee82c3
commit 6f4b6c1db8
2 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,8 @@ export default class Dock implements IWidget {
} else {
this._body = createElement(DockView, props);
}
this.inited = true;
return this._body;
}

View File

@ -101,3 +101,9 @@ html.engine-blur #engine {
.lc-left-float-pane {
font-size: 14px;
}
html.engine-preview-mode {
.lc-left-area, .lc-right-area {
display: none !important;
}
}