Merge pull request #1019 from McGiverGim/fix_osd_sizes

Adjust some OSD fields length
10.3.x-maintenance
Michael Keller 2018-05-12 12:11:36 +12:00 committed by GitHub
commit 247c9f4706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -488,7 +488,7 @@ OSD.constants = {
draw_order: 160,
positionable: true,
preview: function(osd_data) {
return '399.7' + FONT.symbol(osd_data.unit_mode === 0 ? SYM.FEET : SYM.METRE)
return ' 399.7' + FONT.symbol(osd_data.unit_mode === 0 ? SYM.FEET : SYM.METRE);
}
},
ONTIME: {
@ -535,7 +535,7 @@ OSD.constants = {
default_position: -1,
draw_order: 350,
positionable: true,
preview: FONT.symbol(SYM.ARROW_SOUTH) + '00.00000000'
preview: FONT.symbol(SYM.ARROW_EAST) + '-000.0000000'
},
GPS_LAT: {
name: 'GPS_LAT',
@ -543,7 +543,7 @@ OSD.constants = {
default_position: -1,
draw_order: 340,
positionable: true,
preview: FONT.symbol(SYM.ARROW_EAST) + '00.00000000'
preview: FONT.symbol(SYM.ARROW_NORTH) + '-00.0000000 '
},
DEBUG: {
name: 'DEBUG',
@ -656,7 +656,7 @@ OSD.constants = {
draw_order: 360,
positionable: true,
preview: function(osd_data) {
return '43' + FONT.symbol(osd_data.unit_mode === 0 ? SYM.FEET : SYM.METRE)
return '43' + FONT.symbol(osd_data.unit_mode === 0 ? SYM.FEET : SYM.METRE) + (semver.gte(CONFIG.apiVersion, "1.37.0")?' ':'');
}
},
NUMERICAL_HEADING: {