Skip to content

Commit

Permalink
BUG: Problem updating color in circular layout
Browse files Browse the repository at this point in the history
Setting the color and switching between layouts would work just fine.
However, setting the color once in the circular layout would make the
browser tab crash. Seems to be related to to the line width not being parsed
correctly.
  • Loading branch information
ElDeveloper committed Jun 20, 2020
1 parent 31883f2 commit 4b49aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion empress/support_files/js/side-panel-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ define(["underscore", "Colorer"], function (_, Colorer) {
// color tree
this[colorMethodName]();

var lWidth = lwInput.value;
var lWidth = parseInt(lwInput.value);
if (lWidth !== 1) {
this.empress.thickenSameSampleLines(lWidth - 1);
}
Expand Down

0 comments on commit 4b49aa1

Please sign in to comment.