mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-27 16:20:10 +00:00
Update camera zoom logic
This commit is contained in:
parent
419262da61
commit
0398f666d1
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue