From 0398f666d11201fbcbcbfe91ac447b03432e0900 Mon Sep 17 00:00:00 2001 From: hawkeye Date: Fri, 18 Aug 2023 01:06:59 -0400 Subject: [PATCH] Update camera zoom logic --- Orchestration/PanelSourceOrchestrator.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Orchestration/PanelSourceOrchestrator.cs b/Orchestration/PanelSourceOrchestrator.cs index 33ff6ea..4cb0e0d 100644 --- a/Orchestration/PanelSourceOrchestrator.cs +++ b/Orchestration/PanelSourceOrchestrator.cs @@ -17,7 +17,6 @@ namespace MSFSPopoutPanelManager.Orchestration private ProfileData _profileData; private AppSettingData _appSettingData; private FlightSimData _flightSimData; - private int _prePanelConfigurationCockpitZoomLevel = 50; private bool _isEditingPanelSourceLock = false; public PanelSourceOrchestrator(ProfileData profileData, AppSettingData appSettingData, FlightSimData flightSimData) @@ -71,8 +70,6 @@ namespace MSFSPopoutPanelManager.Orchestration if (AppSetting.PopOutSetting.AutoPanning.IsEnabled) { - _prePanelConfigurationCockpitZoomLevel = _flightSimData.CockpitCameraZoom; - if(_flightSimData.CameraViewTypeAndIndex1 == CAMERA_VIEW_HOME_COCKPIT_MODE) { FlightSimOrchestrator.SetCockpitCameraZoomLevel(_profileData.ActiveProfile.PanelSourceCockpitZoomFactor);