Merge pull request #444 from shellixyz/fix_osd_ahi_preview

Fix OSD AHI preview
pull/447/head
Konstantin Sharlaimov 6 years ago committed by GitHub
commit cd8b66cc9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1477,7 +1477,12 @@ OSD.GUI.updatePreviews = function() {
// consume drag/drop events.
item.preview_img.style.pointerEvents = 'none';
}
var centerishPosition = 225;
var centerishPosition = 224;
// AHI is one line up with NTSC (less lines) compared to PAL
if (OSD.constants.VIDEO_TYPES[OSD.data.video_system] == 'NTSC')
centerishPosition -= OSD.data.display_size.x;
// artificial horizon
if ($('input[name="ARTIFICIAL_HORIZON"]').prop('checked')) {

Loading…
Cancel
Save