Skip to content

Commit 13d0dc2

Browse files
author
Xing
committed
fixed redraw when switchign datasets
1 parent c933cb2 commit 13d0dc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/render.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ var _links = [];
509509
var _arrows = [];
510510

511511
function drawLinks(ls) {
512+
Config.redraw = 0;
512513
arrangeOffsetValsForAttachmentPoints(linkObjs);
513514
arrangeOffsetValsForAttachmentPoints(wordObjs);
514515

@@ -524,7 +525,7 @@ function drawLinks(ls) {
524525
Object.keys(ls).forEach(function(key) {
525526
drawLink(ls[key]);
526527
});
527-
528+
528529
drawAllLinks();
529530
drawAllLinkLabels();
530531
drawAllArrows();

0 commit comments

Comments
 (0)