mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Make OSD screen bigger if possible
This commit is contained in:
parent
abdcbc6d30
commit
ec7822f5f6
5 changed files with 53 additions and 27 deletions
|
@ -1872,6 +1872,9 @@ OSD.updateDisplaySize = function() {
|
|||
y: OSD.constants.VIDEO_LINES[videoType],
|
||||
total: null,
|
||||
};
|
||||
// Adjust css background grid
|
||||
const previewLayoutElement = $(".tab-osd .display-layout");
|
||||
videoType === 'PAL' ? previewLayoutElement.addClass('video-pal').removeClass('video-ntsc') : previewLayoutElement.addClass('video-ntsc').removeClass('video-pal');
|
||||
};
|
||||
|
||||
OSD.drawByOrder = function(selectedPosition, field, charCode, x, y) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue