Fexed display problem on crz page

Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
merspieler 2018-09-29 12:51:58 +02:00
parent 6ffae323c2
commit bb47180812

View file

@ -972,8 +972,8 @@ var canvas_lowerECAM_crz = {
},
update: func() {
me["Oil1"].setText(sprintf("%s", math.round(oil_qt1_actual.getValue(), 0.1)));
me["Oil2"].setText(sprintf("%s", math.round(oil_qt2_actual.getValue(), 0.1)));
me["Oil1"].setText(sprintf("%2.1f", oil_qt1_actual.getValue()));
me["Oil2"].setText(sprintf("%2.1f", oil_qt2_actual.getValue()));
me.updateBottomStatus();
},