ATIS page: correct the font size
This commit is contained in:
parent
9329a166fe
commit
c71f897706
1 changed files with 12 additions and 5 deletions
|
@ -440,15 +440,22 @@ var canvas_MCDU_base = {
|
||||||
me["Simple_R5S"].setFont("HoneywellMCDUSmall.ttf");
|
me["Simple_R5S"].setFont("HoneywellMCDUSmall.ttf");
|
||||||
me["Simple_R5S"].setFontSize(small);
|
me["Simple_R5S"].setFontSize(small);
|
||||||
}
|
}
|
||||||
if (page == "RECEIVEDMSG") {
|
if (page == "RECEIVEDMSG" or page == "ATISDETAIL") {
|
||||||
|
if (page == "RECEIVEDMSG") {
|
||||||
|
me["Simple_L2S"].setFontSize(normal);
|
||||||
|
me["Simple_L3S"].setFontSize(normal);
|
||||||
|
me["Simple_L4S"].setFontSize(normal);
|
||||||
|
me["Simple_L5S"].setFontSize(normal);
|
||||||
|
} else {
|
||||||
|
me["Simple_L2S"].setFontSize(small);
|
||||||
|
me["Simple_L3S"].setFontSize(small);
|
||||||
|
me["Simple_L4S"].setFontSize(small);
|
||||||
|
me["Simple_L5S"].setFontSize(small);
|
||||||
|
}
|
||||||
me["Simple_L2S"].setFont("HoneywellMCDU.ttf");
|
me["Simple_L2S"].setFont("HoneywellMCDU.ttf");
|
||||||
me["Simple_L2S"].setFontSize(normal);
|
|
||||||
me["Simple_L3S"].setFont("HoneywellMCDU.ttf");
|
me["Simple_L3S"].setFont("HoneywellMCDU.ttf");
|
||||||
me["Simple_L3S"].setFontSize(normal);
|
|
||||||
me["Simple_L4S"].setFont("HoneywellMCDU.ttf");
|
me["Simple_L4S"].setFont("HoneywellMCDU.ttf");
|
||||||
me["Simple_L4S"].setFontSize(normal);
|
|
||||||
me["Simple_L5S"].setFont("HoneywellMCDU.ttf");
|
me["Simple_L5S"].setFont("HoneywellMCDU.ttf");
|
||||||
me["Simple_L5S"].setFontSize(normal);
|
|
||||||
} else {
|
} else {
|
||||||
me["Simple_L2S"].setFont("HoneywellMCDUSmall.ttf");
|
me["Simple_L2S"].setFont("HoneywellMCDUSmall.ttf");
|
||||||
me["Simple_L2S"].setFontSize(small);
|
me["Simple_L2S"].setFontSize(small);
|
||||||
|
|
Loading…
Reference in a new issue