Skip to content

Commit

Permalink
[APM] Minor style fixes for the node strokes
Browse files Browse the repository at this point in the history
In order to improve visibility on larger zoom levels, we’re changing the stroke widths slightly.
  • Loading branch information
formgeist committed May 14, 2020
1 parent 9e6ebc5 commit 12a62ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ const getBorderWidth = (el: cytoscape.NodeSingular) => {
if (nodeSeverity === severity.minor || nodeSeverity === severity.major) {
return 4;
} else if (nodeSeverity === severity.critical) {
return 12;
return 8;
} else {
return 2;
return 4;
}
};

Expand Down

0 comments on commit 12a62ec

Please sign in to comment.