Rewrite APU page to improve efficiency (proof of concept for future
updates). 25% improvement in average update time + considerably reduce frequency and magnitude of update spikes
This commit is contained in:
parent
46b7ed448e
commit
7844a45886
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,6 @@ var canvas_lowerECAMPageApu =
|
||||||
obj["APUN"].setColor(0.0509,0.7529,0.2941);
|
obj["APUN"].setColor(0.0509,0.7529,0.2941);
|
||||||
obj["APUN-needle"].setColor(0.0509,0.7529,0.2941);
|
obj["APUN-needle"].setColor(0.0509,0.7529,0.2941);
|
||||||
}
|
}
|
||||||
|
|
||||||
obj["APUEGT"].setColor(0.0509,0.7529,0.2941);
|
obj["APUEGT"].setColor(0.0509,0.7529,0.2941);
|
||||||
obj["APUN-needle"].show();
|
obj["APUN-needle"].show();
|
||||||
obj["APUEGT-needle"].show();
|
obj["APUEGT-needle"].show();
|
||||||
|
@ -176,6 +175,7 @@ var canvas_lowerECAMPageApu =
|
||||||
obj.showApuParams = 1;
|
obj.showApuParams = 1;
|
||||||
} else {
|
} else {
|
||||||
obj["APUN"].setColor(0.7333,0.3803,0);
|
obj["APUN"].setColor(0.7333,0.3803,0);
|
||||||
|
obj["APUN-needle"].setColor(0.7333,0.3803,0);
|
||||||
obj["APUEGT"].setColor(0.7333,0.3803,0);
|
obj["APUEGT"].setColor(0.7333,0.3803,0);
|
||||||
obj["APUN-needle"].hide();
|
obj["APUN-needle"].hide();
|
||||||
obj["APUEGT-needle"].hide();
|
obj["APUEGT-needle"].hide();
|
||||||
|
|
Loading…
Reference in a new issue