Skip to content

Commit 1baf5bf

Browse files
committed
Merge branch 'temp' into gh-pages
2 parents 1942809 + efd8df0 commit 1baf5bf

File tree

7 files changed

+23
-12
lines changed

7 files changed

+23
-12
lines changed

js/dom/enable_search.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ module.exports = () => {
77
let query = $(this).val ();
88
let re = new RegExp (query, 'i');
99

10-
if (query) $('#footer').hide ();
11-
else $('#footer').show ();
12-
10+
query ? $('#footer').hide () : $('#footer').show ();
1311
$.each ($('#list .category'), function (i, c) {
1412
let $c = $(c);
1513
!$c.hasClass ('open') && $c.click ();
@@ -32,4 +30,4 @@ module.exports = () => {
3230
return !$(this).children (':visible').length;
3331
}).hide ();
3432
});
35-
};
33+
};

js/dom/setup/setup_dividers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const addDividerToDom = (divider) => {
3939
$second.css('left', percent + '%');
4040
x = pageX;
4141
app.getTracerManager().resize();
42+
app.getEditor().resize();
4243
$('.files_bar > .wrapper').scroll();
4344
}
4445
});
@@ -76,6 +77,7 @@ const addDividerToDom = (divider) => {
7677
$second.css('top', percent + '%');
7778
y = pageY;
7879
app.getTracerManager().resize();
80+
app.getEditor().resize();
7981
}
8082
});
8183

js/editor/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ function Editor(tracerManager) {
6666
if (this.marker) session.removeMarker(this.marker);
6767
};
6868

69+
this.resize = () => {
70+
this.dataEditor.resize();
71+
this.codeEditor.resize();
72+
};
73+
6974
// listeners
7075

7176
this.dataEditor.on('change', () => {

public/algorithm_visualizer.js

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy