Skip to content

Commit

Permalink
Merge pull request #2079 from iNavFlight/dzikuvx-fix-crosshair
Browse files Browse the repository at this point in the history
Fix crosshair
  • Loading branch information
DzikuVx authored May 16, 2024
2 parents 93c1b1b + 35c3237 commit 4aff15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3028,8 +3028,8 @@ OSD.GUI.updatePreviews = function() {

// crosshairs
if ($('input[name="CROSSHAIRS"]').prop('checked')) {
crsHNumber = Settings.getInputValue('osd_crosshairs_style');
if (crsHNumber == 1) {
let crsHNumber = Settings.getInputValue('osd_crosshairs_style');
if (crsHNumber == 1) {
// AIRCRAFT style
OSD.GUI.checkAndProcessSymbolPosition(hudCenterPosition - 2, SYM.AH_AIRCRAFT0);
OSD.GUI.checkAndProcessSymbolPosition(hudCenterPosition - 1, SYM.AH_AIRCRAFT1);
Expand Down

0 comments on commit 4aff15a

Please sign in to comment.