Skip to content

Commit

Permalink
FlightData: change payload min/max range
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Oct 5, 2022
1 parent 0c2609c commit 1e9c1b6
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 57 deletions.
44 changes: 19 additions & 25 deletions GCSViews/FlightData.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions GCSViews/FlightData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@ public FlightData()
log.Info("Components Done");

instance = this;

this.SubMainLeft.Panel1.ControlAdded += (sender, e) => ManageLeftPanelVisibility();
this.SubMainLeft.Panel1.ControlRemoved += (sender, e) => ManageLeftPanelVisibility();
this.tabControlactions.ControlAdded += (sender, e) => ManageLeftPanelVisibility();
this.tabControlactions.ControlRemoved += (sender, e) => ManageLeftPanelVisibility();
this.panel_persistent.ControlAdded += (sender, e) => ManageLeftPanelVisibility();
this.panel_persistent.ControlRemoved += (sender, e) => ManageLeftPanelVisibility();
// _serializer = new DockStateSerializer(dockContainer1);
// _serializer.SavePath = Application.StartupPath + Path.DirectorySeparatorChar + "FDscreen.xml";
// dockContainer1.PreviewRenderer = new PreviewRenderer();
Expand Down Expand Up @@ -3757,6 +3764,9 @@ private void mainloop()
}
}

//nofly
NoFly.NoFly.UpdateNoFlyZone(this, gMapControl1.Position);

waypoints = DateTime.Now;
}

Expand Down
Loading

0 comments on commit 1e9c1b6

Please sign in to comment.