Nathan Watson ff4d8a6b6c Fix disappearing worldmap labels bug
The "worldmap.labels" map is keyed by namedarea.id (corresponding to map.area), while the "mapLocations" map is keyed by map.id. This causes worldmap labels to be marked for removal when there's a namedarea.id that does not match any map.id, which happens to be true for all namedareas except crossglen and crossroads.

This logic is unnecessary anyway, because WorldMapView.pushToModel is only invoked by WorldmapSegment.pushToModel, which only triggers when maps are added or moved, but not deleted. Deletions are instead handled by WorldmapSegment.elementChanged. As such, it should never be the case that a label is removable in a pushToModel call.
2021-01-04 01:07:57 -08:00
2015-02-23 22:43:19 +01:00
2018-11-28 15:14:08 +01:00
2020-10-04 22:09:43 +02:00
2018-02-13 15:26:13 +01:00
2021-01-04 01:07:57 -08:00
2018-11-28 15:14:08 +01:00
2015-02-23 22:43:19 +01:00
2015-02-23 22:43:19 +01:00
2015-02-23 22:43:19 +01:00
2015-02-23 22:43:19 +01:00
2015-02-23 22:43:19 +01:00
2015-02-23 22:43:19 +01:00
Description
No description provided
20 MiB
Languages
Java 99.1%
NSIS 0.3%
Shell 0.3%
Batchfile 0.3%