tracyhenry/Kyrix

postJump doesn't remove old stuff when new canvas only has static layers

tracyhenry opened this issue · 0 comments

also, these lines made the wrong assumption that gvd.curCanvas is the old canvas:

Kyrix/front-end/js/jump.js

Lines 143 to 145 in 75d76d5

for (var i = 0; i < gvd.curCanvas.layers.length; i++)
if (gvd.curCanvas.layers[i].isStatic)
d3.selectAll(viewClass + ".oldlayerg" + ".layer" + i).remove();