From 2e19a2662b7798365dbe6e4984989ba621665ab3 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:02:26 +0100 Subject: [PATCH] parking changes --- src/css/tabs/osd.css | 23 +++++++++++++++++++++++ tabs/osd.js | 5 +++++ 2 files changed, 28 insertions(+) diff --git a/src/css/tabs/osd.css b/src/css/tabs/osd.css index 3bce43ab2..769b39f4a 100644 --- a/src/css/tabs/osd.css +++ b/src/css/tabs/osd.css @@ -503,6 +503,29 @@ button { width: calc(50% - 317px) !important; } +.tab-osd .preview_autohd { + width: 720px !important; + left: calc(50% - 377px) !important; +} + +.tab-osd .preview_autohd_side { + width: calc(50% - 377px) !important; +} + +.tab-osd .autohd_43_left { + border-left: 2px solid red; + position: absolute; + left: 84px; + height: calc(100% - 27px); +} + +.tab-osd .autohd_43_right { + border-right: 2px solid red; + position: absolute; + right: 84px; + height: calc(100% - 27px); +} + .tab-osd .preview_dji_hd { width: 720px !important; left: calc(50% - 377px) !important; diff --git a/tabs/osd.js b/tabs/osd.js index dda60646b..1df64d70e 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -2373,6 +2373,11 @@ OSD.updateDisplaySize = function () { $('.third_left').toggleClass('preview_bfhdcompat_side', (video_type == 'BFHDCOMPAT')) $('.preview').toggleClass('preview_bfhdcompat cut43_left', (video_type == 'BFHDCOMPAT')) $('.third_right').toggleClass('preview_bfhdcompat_side', (video_type == 'BFHDCOMPAT')) + // -- AUTOHD + $('.third_left').toggleClass('preview_autohd_side', video_type == 'AUTOHD') + $('.preview').toggleClass('preview_autohd cut43_left', video_type == 'AUTOHD') + $('.third_right').toggleClass('preview_autohd_side', video_type == 'AUTOHD') + OSD.GUI.updateGuidesView($('#videoGuides').find('input').is(':checked')); };