ensure portal is rendered above resos
This commit is contained in:
parent
e69ba16a23
commit
e9fd2e1a2e
@ -294,8 +294,6 @@ window.renderPortal = function(ent) {
|
|||||||
window.renderResonators(ent, null);
|
window.renderResonators(ent, null);
|
||||||
|
|
||||||
window.runHooks('portalAdded', {portal: p});
|
window.runHooks('portalAdded', {portal: p});
|
||||||
|
|
||||||
// portalLevel contains a float, need to round down
|
|
||||||
p.addTo(layerGroup);
|
p.addTo(layerGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -434,6 +432,7 @@ window.resonatorsSetStyle = function(portalGuid, resoStyle, lineStyle) {
|
|||||||
layer.bringToFront().setStyle(resoStyle);
|
layer.bringToFront().setStyle(resoStyle);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
portals[portalGuid].bringToFront();
|
||||||
}
|
}
|
||||||
|
|
||||||
// renders a link on the map from the given entity
|
// renders a link on the map from the given entity
|
||||||
|
Loading…
x
Reference in New Issue
Block a user