Skip to content

Commit

Permalink
parking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Nov 20, 2024
1 parent dc960ac commit 2e19a26
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/css/tabs/osd.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
};
Expand Down

0 comments on commit 2e19a26

Please sign in to comment.