DU: Fix bug where PFD update the slow too much timesgit add .!
This commit is contained in:
parent
4b58edb995
commit
46b439571e
2 changed files with 9 additions and 5 deletions
|
@ -298,8 +298,10 @@ var canvas_PFD_base = {
|
||||||
PFD_1_test.page.show();
|
PFD_1_test.page.show();
|
||||||
} else {
|
} else {
|
||||||
PFD_1.updateFast();
|
PFD_1.updateFast();
|
||||||
PFD_1.update();
|
if (!updateL) { # Update slow here once so that no flicker if timers don't perfectly align
|
||||||
updateL = 1;
|
updateL = 1;
|
||||||
|
PFD_1.update();
|
||||||
|
}
|
||||||
PFD_1_test.page.hide();
|
PFD_1_test.page.hide();
|
||||||
PFD_1.page.show();
|
PFD_1.page.show();
|
||||||
}
|
}
|
||||||
|
@ -321,8 +323,10 @@ var canvas_PFD_base = {
|
||||||
PFD_2_test.page.show();
|
PFD_2_test.page.show();
|
||||||
} else {
|
} else {
|
||||||
PFD_2.updateFast();
|
PFD_2.updateFast();
|
||||||
PFD_2.update();
|
if (!updateR) { # Update slow here once so that no flicker if timers don't perfectly align
|
||||||
updateR = 1;
|
updateR = 1;
|
||||||
|
PFD_2.update();
|
||||||
|
}
|
||||||
PFD_2_test.page.hide();
|
PFD_2_test.page.hide();
|
||||||
PFD_2.page.show();
|
PFD_2.page.show();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
41
|
42
|
Loading…
Reference in a new issue