Aidymouse / Hexfriend

A friendly online hexmapper
MIT License
39 stars 7 forks source link

Icons and Paths don't update correctly when the map is loaded #11

Closed Aidymouse closed 2 years ago

Aidymouse commented 2 years ago

Icons and paths appear to stick around from the last map loaded. That means they don't appear when you load from blank. They appear if you change to one of the set editors and back. I think it's a weird svelte update issue

Aidymouse commented 2 years ago

I think I've fixed this by making sure loadedSave = loadedSave at the end of the loading sequence. It may have something to do with a weird draw order for PIXI? I'm not sure. May warrant further investigation at some point but for now it's fixed.