mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +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:
parent
56fec5cbec
commit
42c9703b95
1 changed files with 2 additions and 8 deletions
|
@ -1185,16 +1185,10 @@ OSD.loadDisplayFields = function() {
|
||||||
name: 'OSD_UP_DOWN_REFERENCE',
|
name: 'OSD_UP_DOWN_REFERENCE',
|
||||||
text: 'osdTextElementUpDownReference',
|
text: 'osdTextElementUpDownReference',
|
||||||
desc: 'osdDescUpDownReference',
|
desc: 'osdDescUpDownReference',
|
||||||
defaultPosition() {
|
defaultPosition: 238,
|
||||||
let position = 238;
|
|
||||||
if (OSD.constants.VIDEO_TYPES[OSD.data.video_system] !== 'NTSC') {
|
|
||||||
position += FONT.constants.SIZES.LINE;
|
|
||||||
}
|
|
||||||
return position;
|
|
||||||
},
|
|
||||||
draw_order: 465,
|
draw_order: 465,
|
||||||
positionable: true,
|
positionable: true,
|
||||||
preview: 'U'
|
preview: 'U',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue