提交 64e54fb4 编写于 作者: J Jason Park

Merge branch 'temp' into gh-pages

......@@ -7,9 +7,7 @@ module.exports = () => {
let query = $(this).val ();
let re = new RegExp (query, 'i');
if (query) $('#footer').hide ();
else $('#footer').show ();
query ? $('#footer').hide () : $('#footer').show ();
$.each ($('#list .category'), function (i, c) {
let $c = $(c);
!$c.hasClass ('open') && $c.click ();
......@@ -32,4 +30,4 @@ module.exports = () => {
return !$(this).children (':visible').length;
}).hide ();
});
};
\ No newline at end of file
};
......@@ -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.
先完成此消息的编辑!
想要评论请 注册