fix: remove label path of regeneration

This commit is contained in:
Azgaar 2023-01-22 14:18:59 +04:00
parent e6142473a4
commit 8a1122e668
2 changed files with 3 additions and 5 deletions

View file

@ -608,7 +608,7 @@ window.BurgsAndStates = (function () {
if (list && !list.includes(state.i)) continue;
byId(`stateLabel${state.i}`)?.remove();
byId(`textPath_stateLabel6${state.i}`)?.remove();
byId(`textPath_stateLabel${state.i}`)?.remove();
}
const example = g.append("text").attr("x", 0).attr("x", 0).text("Average");