From 909d183e8213633c0da8d2d9d98b6adada40649a Mon Sep 17 00:00:00 2001 From: Michel Pastor Date: Fri, 11 May 2018 17:09:17 +0200 Subject: [PATCH] Fix OSD AHI preview --- tabs/osd.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tabs/osd.js b/tabs/osd.js index ebf7ab51..a1a9feb5 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -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')) {