提交 89aed87a 编写于 作者: J Jason Park

fix #168

上级 83068054
......@@ -39,6 +39,7 @@ const addDividerToDom = (divider) => {
$second.css('left', percent + '%');
x = pageX;
app.getTracerManager().resize();
app.getEditor().resize();
$('.files_bar > .wrapper').scroll();
}
});
......@@ -76,6 +77,7 @@ const addDividerToDom = (divider) => {
$second.css('top', percent + '%');
y = pageY;
app.getTracerManager().resize();
app.getEditor().resize();
}
});
......
......@@ -66,6 +66,11 @@ function Editor(tracerManager) {
if (this.marker) session.removeMarker(this.marker);
};
this.resize = () => {
this.dataEditor.resize();
this.codeEditor.resize();
};
// listeners
this.dataEditor.on('change', () => {
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册