mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +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
|
|
@ -8007,7 +8007,7 @@
|
|||
<script defer src="libs/jquery.ui.touch-punch.min.js"></script>
|
||||
|
||||
<script defer src="modules/io/save.js?v=1.91.04"></script>
|
||||
<script defer src="modules/io/load.js?v=1.92.02"></script>
|
||||
<script defer src="modules/io/load.js?v=1.92.03"></script>
|
||||
<script defer src="modules/io/cloud.js"></script>
|
||||
<script defer src="modules/io/export.js?v=1.89.36"></script>
|
||||
<script defer src="modules/io/formats.js"></script>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.02");
|
||||
const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.92.03");
|
||||
resolveVersionConflicts(versionNumber);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"use strict";
|
||||
|
||||
// version and caching control
|
||||
const version = "1.92.02"; // generator version, update each time
|
||||
const version = "1.92.03"; // generator version, update each time
|
||||
|
||||
{
|
||||
document.title += " v" + version;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue