Merge pull request #2369 from bobbycisneros/master
Added OSD Up/Down reference element10.8-maintenance
commit
d600bbab61
|
@ -4995,7 +4995,13 @@
|
|||
"osdDescTotalFlights": {
|
||||
"message": "Approximate total number of flights"
|
||||
},
|
||||
|
||||
"osdTextElementUpDownReference": {
|
||||
"message": "Up (Pitch 90 deg)/Down (Pitch -90 deg) Reference",
|
||||
"description": "OSD Symbol to show when pitch is approaching vertical (90 deg, U) and D for nose down (-90 deg, D)"
|
||||
},
|
||||
"osdDescUpDownReference": {
|
||||
"message": "OSD Symbol to show when pitch is approaching vertical (90 deg, U) and D for nose down (-90 deg, D)"
|
||||
},
|
||||
"osdTextElementUnknown": {
|
||||
"message": "Unknown $1",
|
||||
"description": "One of the elements of the OSD"
|
||||
|
|
|
@ -1181,6 +1181,15 @@ OSD.loadDisplayFields = function() {
|
|||
positionable: true,
|
||||
preview: "#9876",
|
||||
},
|
||||
OSD_UP_DOWN_REFERENCE: {
|
||||
name: 'OSD_UP_DOWN_REFERENCE',
|
||||
text: 'osdTextElementUpDownReference',
|
||||
desc: 'osdDescUpDownReference',
|
||||
defaultPosition: 238,
|
||||
draw_order: 465,
|
||||
positionable: true,
|
||||
preview: 'U',
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1602,6 +1611,7 @@ OSD.chooseFields = function() {
|
|||
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
|
||||
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
|
||||
F.TOTAL_FLIGHTS,
|
||||
F.OSD_UP_DOWN_REFERENCE,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue