Skip to content

Commit

Permalink
FlightData: Fix transponder mode "ON" display
Browse files Browse the repository at this point in the history
+ "ON" button should be bolded when all but mode C are enabled; previous behavior was all but mode S.
  • Loading branch information
nicholas-inocencio authored and meee1 committed Oct 31, 2024
1 parent cb1ed6d commit 475f822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GCSViews/FlightData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6271,8 +6271,8 @@ private void updateTransponder()
!Mode_clb.GetItemChecked(2) &&
!Mode_clb.GetItemChecked(3)) ? FontStyle.Bold : FontStyle.Regular);
ON_btn.Font = new Font(ON_btn.Font, ( Mode_clb.GetItemChecked(0) &&
Mode_clb.GetItemChecked(1) &&
!Mode_clb.GetItemChecked(2) &&
!Mode_clb.GetItemChecked(1) &&
Mode_clb.GetItemChecked(2) &&
Mode_clb.GetItemChecked(3)) ? FontStyle.Bold : FontStyle.Regular);
ALT_btn.Font = new Font(ALT_btn.Font, ( Mode_clb.GetItemChecked(0) &&
Mode_clb.GetItemChecked(1) &&
Expand Down

0 comments on commit 475f822

Please sign in to comment.