force re-render of the selected portal at the end of map rendering, to ensure any details that depend on map data are correct

for #827
This commit is contained in:
Jon Atkins 2014-07-14 20:44:20 +01:00
parent b9f9288567
commit 88c404eca0

View File

@ -141,6 +141,11 @@ window.Render.prototype.endRenderPass = function() {
this.bringPortalsToFront();
this.isRendering = false;
// re-select the selected portal, to re-render the side-bar. ensures that any data calculated from the map data is up to date
if (selectedPortal) {
renderPortalDetails (selectedPortal);
}
}
window.Render.prototype.bringPortalsToFront = function() {