提交 a322ea9a 编写于 作者: J Joao Moreno

fixes #52150

上级 0e6bc508
......@@ -496,7 +496,11 @@ export class WorkbenchShell {
private registerListeners(): void {
// Resize
this.toUnbind.push(addDisposableListener(window, EventType.RESIZE, () => this.layout()));
this.toUnbind.push(addDisposableListener(window, EventType.RESIZE, e => {
if (e.target === window) {
this.layout();
}
}));
}
public onUnexpectedError(error: any): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册