diff --git a/index.html b/index.html index 570f11a0..0d893532 100644 --- a/index.html +++ b/index.html @@ -8174,6 +8174,7 @@ + diff --git a/modules/ui/layers.js b/modules/ui/layers.js index c9c2d5fd..0943a333 100644 --- a/modules/ui/layers.js +++ b/modules/ui/layers.js @@ -1897,11 +1897,11 @@ function toggleResources(event) { } function drawResources() { - console.time('drawResources'); + console.time("drawResources"); const someArePinned = pack.resources.some((resource) => resource.pinned); - const drawCircle = +goods.attr('data-circle'); + const drawCircle = +goods.attr("data-circle"); - let resourcesHTML = ''; + let resourcesHTML = ""; for (const i of pack.cells.i) { if (!pack.cells.resource[i]) continue; const resource = Resources.get(pack.cells.resource[i]); @@ -1909,10 +1909,10 @@ function drawResources() { const [x, y] = pack.cells.p[i]; const stroke = Resources.getStroke(resource.color); - if (!drawCircle) { - resourcesHTML += ``; - continue; - } + // if (!drawCircle) { + // resourcesHTML += ``; + // continue; + // } resourcesHTML += ` diff --git a/modules/ui/resource-editor.js b/modules/ui/resource-editor.js index 759a83e7..e8dc87ba 100644 --- a/modules/ui/resource-editor.js +++ b/modules/ui/resource-editor.js @@ -1,4 +1,4 @@ -'use strict'; +"use strict"; function editResources() { if (customization) return; closeDialogs('#resourcesEditor, .stable');