From 277af6b498940cfa40d22be934eed4ed1e6dd418 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Wed, 8 Feb 2023 17:40:12 +0100 Subject: [PATCH] Set default map-sorting to be very late, so the map wont be first if its settings.json could not be loaded --- BlueMapCommon/webapp/src/js/map/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueMapCommon/webapp/src/js/map/Map.js b/BlueMapCommon/webapp/src/js/map/Map.js index 2d1a5618..947281dc 100644 --- a/BlueMapCommon/webapp/src/js/map/Map.js +++ b/BlueMapCommon/webapp/src/js/map/Map.js @@ -56,7 +56,7 @@ export class Map { this.data = reactive({ id: id, - sorting: 0, + sorting: 1000000, dataUrl: dataUrl, settingsUrl: dataUrl + "settings.json", texturesUrl: dataUrl + "textures.json",