From 454fc9ca3efd73b6fa3fb2ee09c6cfea317a69af Mon Sep 17 00:00:00 2001 From: Azgaar Date: Fri, 11 Aug 2023 19:09:00 +0400 Subject: [PATCH] fix: remove texture hiding style --- index.html | 2 +- modules/dynamic/auto-update.js | 5 +++-- modules/io/load.js | 2 +- versioning.js | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 36778d12..9ab2fc63 100644 --- a/index.html +++ b/index.html @@ -8007,7 +8007,7 @@ - + diff --git a/modules/dynamic/auto-update.js b/modules/dynamic/auto-update.js index fcd12273..d3b8607f 100644 --- a/modules/dynamic/auto-update.js +++ b/modules/dynamic/auto-update.js @@ -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); } } diff --git a/modules/io/load.js b/modules/io/load.js index 7b39fd4e..1f8366d2 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -435,7 +435,7 @@ async function parseLoadedData(data) { { // dynamically import and run auto-udpdate script const versionNumber = parseFloat(params[0]); - const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.92.00"); + const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.92.02"); resolveVersionConflicts(versionNumber); } diff --git a/versioning.js b/versioning.js index 2ae9c5d2..ed883322 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.92.01"; // generator version, update each time +const version = "1.92.02"; // generator version, update each time { document.title += " v" + version;