fix: remove texture hiding style

This commit is contained in:
Azgaar 2023-08-11 19:09:00 +04:00
parent 95503ebf38
commit 454fc9ca3e
4 changed files with 6 additions and 5 deletions

View file

@ -640,8 +640,6 @@ export function resolveVersionConflicts(version) {
if (version < 1.91) {
// from v1.90.02 texture image is always there
if (!texture.selectAll("*").size()) {
texture.style("display", "none");
texture
.append("image")
.attr("id", "textureImage")
@ -704,5 +702,8 @@ export function resolveVersionConflicts(version) {
labels.selectAll("tspan").each(function () {
this.setAttribute("x", 0);
});
// leftover from v1.90.02
texture.style("display", null);
}
}