Bugfix decel
This commit is contained in:
parent
de296916ed
commit
9675111701
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
# Local vars
|
# Local vars
|
||||||
var decelIndex = 0;
|
var decelIndex = 0;
|
||||||
var decelShow = 0;
|
var decelShow = 0;
|
||||||
|
var decelOffset = 0;
|
||||||
var destName = nil;
|
var destName = nil;
|
||||||
|
|
||||||
var getSubTextFunc = func(meRef) {
|
var getSubTextFunc = func(meRef) {
|
||||||
|
@ -559,8 +560,8 @@ var fplnPage = { # this one is only created once, and then updated - remember th
|
||||||
decelIndex = getprop("/instrumentation/nd/symbols/decel/index");
|
decelIndex = getprop("/instrumentation/nd/symbols/decel/index");
|
||||||
decelShow = getprop("/instrumentation/nd/symbols/decel/show");
|
decelShow = getprop("/instrumentation/nd/symbols/decel/show");
|
||||||
if (me.scroll < me.plan.getPlanSize()) {
|
if (me.scroll < me.plan.getPlanSize()) {
|
||||||
|
decelOffset = 0;
|
||||||
if (decelShow) {
|
if (decelShow) {
|
||||||
var decelOffset = 0;
|
|
||||||
if (me.scroll > decelIndex) {
|
if (me.scroll > decelIndex) {
|
||||||
decelOffset = 1;
|
decelOffset = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue