Skip to content

Commit 6cd30be

Browse files
committed
GimbalControlSettings: implement default yaw lock setting
1 parent 0fcc32d commit 6cd30be

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Controls/GimbalControlSettingsForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ public GimbalControlSettings()
317317
CameraVFOV = 30.0m; // vertical, degrees
318318

319319
// Default boolean options
320-
DefaultLockedMode = false;
321320
UseFOVReportedByCamera = true;
321+
DefaultLockedMode = false;
322322
}
323323

324324
public GimbalControlSettings(GimbalControlSettings other)

Controls/GimbalVideoControl.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ public GimbalVideoControl()
101101

102102
loadPreferences();
103103

104+
yaw_lock = preferences.DefaultLockedMode;
105+
104106
// Register the global key handler
105107
Application.AddMessageFilter(this);
106108

0 commit comments

Comments
 (0)