mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-17 21:35:30 +03:00
Added bars for 4:3 ratio
This commit is contained in:
parent
ea230eaba1
commit
00558d6164
2 changed files with 6 additions and 4 deletions
|
@ -435,17 +435,17 @@ button {
|
||||||
left: calc(50% - 335px) !important; /* width / 2 + 17 */
|
left: calc(50% - 335px) !important; /* width / 2 + 17 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-osd .avatar_43_left {
|
.tab-osd .hd_avatar_43_left {
|
||||||
border-left: 2px solid red;
|
border-left: 2px solid red;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 60px;
|
left: 77.5px;
|
||||||
height: calc(100% - 27px);
|
height: calc(100% - 27px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-osd .avatar_43_right {
|
.tab-osd .hd_avatar_43_right {
|
||||||
border-right: 2px solid red;
|
border-right: 2px solid red;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 60px;
|
right: 77.5px;
|
||||||
height: calc(100% - 27px);
|
height: calc(100% - 27px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2704,6 +2704,8 @@ OSD.GUI.updateGuidesView = function(on) {
|
||||||
$('.hd_43_margin_right').toggleClass('dji_hd_43_right', (isDJIWTF && on))
|
$('.hd_43_margin_right').toggleClass('dji_hd_43_right', (isDJIWTF && on))
|
||||||
|
|
||||||
isAvatar = OSD.constants.VIDEO_TYPES[OSD.data.preferences.video_system] == 'AVATAR';
|
isAvatar = OSD.constants.VIDEO_TYPES[OSD.data.preferences.video_system] == 'AVATAR';
|
||||||
|
$('.hd_43_margin_left').toggleClass('hd_avatar_43_left', (isAvatar && on))
|
||||||
|
$('.hd_43_margin_right').toggleClass('hd_avatar_43_right', (isAvatar && on))
|
||||||
$('.hd_avatar_bottom_bar').toggleClass('hd_avatar_bottom', (isAvatar && on))
|
$('.hd_avatar_bottom_bar').toggleClass('hd_avatar_bottom', (isAvatar && on))
|
||||||
$('.hd_avatar_storage_box_top').toggleClass('hd_avatar_storagebox_t', (isAvatar && on))
|
$('.hd_avatar_storage_box_top').toggleClass('hd_avatar_storagebox_t', (isAvatar && on))
|
||||||
$('.hd_avatar_storage_box_bottom').toggleClass('hd_avatar_storagebox_b', (isAvatar && on))
|
$('.hd_avatar_storage_box_bottom').toggleClass('hd_avatar_storagebox_b', (isAvatar && on))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue