mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix: check for selection size
This commit is contained in:
parent
c3a385b2c9
commit
20c46e181a
4 changed files with 4 additions and 4 deletions
|
|
@ -706,7 +706,7 @@ export function resolveVersionConflicts(version) {
|
|||
// leftover from v1.90.02
|
||||
texture.style("display", null);
|
||||
const textureImage = texture.select("#textureImage");
|
||||
if (textureImage) {
|
||||
if (textureImage.size()) {
|
||||
const xlink = textureImage.attr("xlink:href");
|
||||
const href = textureImage.attr("href");
|
||||
const src = xlink || href;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue