提交 3c81d583 编写于 作者: J Joao Moreno

splitview: dont save layout size

上级 c1f792ed
......@@ -95,15 +95,9 @@ export class SplitView implements IDisposable {
? size => item.container.style.height = `${item.size}px`
: size => item.container.style.width = `${item.size}px`;
let previousSize: number | undefined = undefined;
const layout = () => {
if (item.size === previousSize) {
return;
}
layoutContainer(item.size);
item.view.layout(item.size, this.orientation);
previousSize = item.size;
};
size = Math.round(size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册