diff options
Diffstat (limited to 'modern/src/map/Map.js')
-rw-r--r-- | modern/src/map/Map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js index 63e3a73..d02fae1 100644 --- a/modern/src/map/Map.js +++ b/modern/src/map/Map.js @@ -44,7 +44,7 @@ const initMap = async () => { if (ready) return; if (!map.hasImage('background')) { const background = await loadImage('images/background.svg'); - map.addImage('background', await prepareIcon(background), { + map.addImage('background', prepareIcon(background), { pixelRatio: window.devicePixelRatio, }); await Promise.all(deviceCategories.map(async (category) => { |