mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-23 22:30:09 +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 ProfileData _profileData;
|
||||||
private AppSettingData _appSettingData;
|
private AppSettingData _appSettingData;
|
||||||
private FlightSimData _flightSimData;
|
private FlightSimData _flightSimData;
|
||||||
private int _prePanelConfigurationCockpitZoomLevel = 50;
|
|
||||||
private bool _isEditingPanelSourceLock = false;
|
private bool _isEditingPanelSourceLock = false;
|
||||||
|
|
||||||
public PanelSourceOrchestrator(ProfileData profileData, AppSettingData appSettingData, FlightSimData flightSimData)
|
public PanelSourceOrchestrator(ProfileData profileData, AppSettingData appSettingData, FlightSimData flightSimData)
|
||||||
|
@ -71,8 +70,6 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
|
|
||||||
if (AppSetting.PopOutSetting.AutoPanning.IsEnabled)
|
if (AppSetting.PopOutSetting.AutoPanning.IsEnabled)
|
||||||
{
|
{
|
||||||
_prePanelConfigurationCockpitZoomLevel = _flightSimData.CockpitCameraZoom;
|
|
||||||
|
|
||||||
if(_flightSimData.CameraViewTypeAndIndex1 == CAMERA_VIEW_HOME_COCKPIT_MODE)
|
if(_flightSimData.CameraViewTypeAndIndex1 == CAMERA_VIEW_HOME_COCKPIT_MODE)
|
||||||
{
|
{
|
||||||
FlightSimOrchestrator.SetCockpitCameraZoomLevel(_profileData.ActiveProfile.PanelSourceCockpitZoomFactor);
|
FlightSimOrchestrator.SetCockpitCameraZoomLevel(_profileData.ActiveProfile.PanelSourceCockpitZoomFactor);
|
||||||
|
|
Loading…
Reference in a new issue