mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix: remove texture hiding style
This commit is contained in:
parent
95503ebf38
commit
454fc9ca3e
4 changed files with 6 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue