1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 00:05:22 +03:00

Removed video format dependency of up/down reference indication

Removed relationship between video format and the default position for the up down reference indication.
This commit is contained in:
Robert Cisneros 2021-02-15 21:17:07 -06:00
parent 56fec5cbec
commit 42c9703b95

View file

@ -1185,16 +1185,10 @@ OSD.loadDisplayFields = function() {
name: 'OSD_UP_DOWN_REFERENCE',
text: 'osdTextElementUpDownReference',
desc: 'osdDescUpDownReference',
defaultPosition() {
let position = 238;
if (OSD.constants.VIDEO_TYPES[OSD.data.video_system] !== 'NTSC') {
position += FONT.constants.SIZES.LINE;
}
return position;
},
defaultPosition: 238,
draw_order: 465,
positionable: true,
preview: 'U'
preview: 'U',
},
};
};