1
0
Fork 0

ATIS page: correct the font size

This commit is contained in:
Jonathan Redpath 2022-02-06 21:15:15 +00:00
parent 9329a166fe
commit c71f897706

View file

@ -440,15 +440,22 @@ var canvas_MCDU_base = {
me["Simple_R5S"].setFont("HoneywellMCDUSmall.ttf");
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"].setFontSize(normal);
me["Simple_L3S"].setFont("HoneywellMCDU.ttf");
me["Simple_L3S"].setFontSize(normal);
me["Simple_L4S"].setFont("HoneywellMCDU.ttf");
me["Simple_L4S"].setFontSize(normal);
me["Simple_L5S"].setFont("HoneywellMCDU.ttf");
me["Simple_L5S"].setFontSize(normal);
} else {
me["Simple_L2S"].setFont("HoneywellMCDUSmall.ttf");
me["Simple_L2S"].setFontSize(small);