Skip to content

Commit

Permalink
Merge pull request #1555 from iNavFlight/MrD_Fix-reappearing-DJI-hidd…
Browse files Browse the repository at this point in the history
…en-elements-when-switching-OSD-layouts

Fix reappearing DJI unsupported elements when switching OSD layouts
  • Loading branch information
DzikuVx authored Jun 21, 2022
2 parents 2ea16bd + 125b217 commit 61737f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2787,6 +2787,7 @@ OSD.GUI.updateAll = function() {
layouts.on('change', function() {
OSD.updateSelectedLayout(parseInt(layouts.val()));
OSD.GUI.updateFields();
OSD.GUI.updateDjiView($('#djiUnsupportedElements').find('input').is(':checked'));
OSD.GUI.updatePreviews();
});
} else {
Expand Down

0 comments on commit 61737f4

Please sign in to comment.