fix resonator rendering on zoom after changing to avoid re-rendering unchanged data
this whole area of code could do with some restructuring really - this will do for now though...
This commit is contained in:
parent
b0ad122800
commit
a43bd3ef0c
@ -589,8 +589,11 @@ window.renderPortal = function(ent) {
|
|||||||
var oo = old.options;
|
var oo = old.options;
|
||||||
|
|
||||||
// if the data we have is older than/the same as the data already rendered, do nothing
|
// if the data we have is older than/the same as the data already rendered, do nothing
|
||||||
if (oo.ent[1] >= ent[1])
|
if (oo.ent[1] >= ent[1]) {
|
||||||
|
// let resos handle themselves if they need to be redrawn
|
||||||
|
renderResonators(ent[0], ent[2], old);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Default checks to see if a portal needs to be re-rendered
|
// Default checks to see if a portal needs to be re-rendered
|
||||||
var u = oo.team !== team;
|
var u = oo.team !== team;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user