Tsunder / Pardus-Sweetener

A browser extension that enhances the user interface of the online game Pardus
3 stars 3 forks source link

option "show minimap under nav screen" is bugged #96

Open Tsunder opened 4 years ago

Tsunder commented 4 years ago

Describe the bug minimap isn't filling in, not updating, and is drawing more canvases

To Reproduce use the setting "show minimap under navigation area" change sectors

Expected behavior one minimap that is filled in.

Screenshots view after switching sector. image

moving after switching sector, additional canvas appears. image

Additional context map.js:519 Uncaught Error: Invalid parameters at SectorMap.computeGrid (map.js:519) at SectorMap.configure (map.js:40) at configureMinimap (nav.js:529) at updateMinimap (nav.js:353) at onGameMessage (nav.js:217)

map.js:519 Uncaught Error: Invalid parameters main.php:1 Error in event handler: Error: Invalid parameters at SectorMap.computeGrid (chrome-extension://oljkdelpabjlpofhomedemighchghfik/map.js:519:10) at SectorMap.configure (chrome-extension://oljkdelpabjlpofhomedemighchghfik/map.js:44:9) at configureMinimap (chrome-extension://oljkdelpabjlpofhomedemighchghfik/nav.js:529:10) at updateMinimap (chrome-extension://oljkdelpabjlpofhomedemighchghfik/nav.js:353:5) at Object.applyConfiguration (chrome-extension://oljkdelpabjlpofhomedemighchghfik/nav.js:145:3) at onStorageChange (chrome-extension://oljkdelpabjlpofhomedemighchghfik/cfgset.js:105:15)