- Code: Select all
`de`

de

ABCDE

de

I change "de" part (next de is + or - 20 ft) and then move whole DE column to correct vertical position. Here is my code:

- Code: Select all
`var altR20 = roundToNearest(alt, 20);`

me["curAltDig45High2"].setText(sprintf("%02d",math.mod(math.abs(altR20+20),100)));

me["curAltDig45High1"].setText(sprintf("%02d",math.mod(math.abs(altR20),100)));

me["curAltDig45Low1"].setText(sprintf("%02d",math.mod(math.abs(altR20-20),100)));

me["curAltDig45Low2"].updateText(sprintf("%02d",math.mod(math.abs(altR20-40),100)));

me["curAltDig45"].setTranslation(0,((alt - altR20)/20*36.31));

The problem is, that sometimes value change and translation occurs not in one frame, but in two different and I see, like jumping column.

I tried to make me["curAltDig45"].hide(); before this piece of code and me["curAltDig45"].show(); after, but problem still exist. How can I solve this issue?