提交 7fbf9820 编写于 作者: M Matt Bierner

Fix case where initial webview size may be off

上级 6193224c
......@@ -73,6 +73,7 @@ export default class Webview {
this._ready = new TPromise<this>(resolve => {
const subscription = addDisposableListener(this._webview, 'ipc-message', (event) => {
if (event.channel === 'webview-ready') {
this.layout();
// console.info('[PID Webview] ' + event.args[0]);
addClass(this._webview, 'ready'); // can be found by debug command
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册