mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-21 21:30:12 +00:00
Speed up pop out process
This commit is contained in:
parent
a8a88b791c
commit
8646661819
3 changed files with 3 additions and 10 deletions
|
@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
-->
|
-->
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Local</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
<PublishDir>..\..\..\publish\master</PublishDir>
|
<PublishDir>..\..\..\publish\master</PublishDir>
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
|
|
@ -219,7 +219,7 @@
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</WrapPanel>
|
</WrapPanel>
|
||||||
<WrapPanel Margin="0,0,20,20" Orientation="Vertical">
|
<WrapPanel Margin="0,0,20,20" Orientation="Vertical">
|
||||||
<TextBlock Style="{StaticResource TextBlockHeading}">Ready to Fly Button Delay</TextBlock>
|
<TextBlock Style="{StaticResource TextBlockHeading}">Auto Pop Out Panel Delay</TextBlock>
|
||||||
<Line
|
<Line
|
||||||
Stretch="Fill"
|
Stretch="Fill"
|
||||||
Stroke="Gray"
|
Stroke="Gray"
|
||||||
|
|
|
@ -188,11 +188,9 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
|
|
||||||
// Turn off TrackIR if TrackIR is started
|
// Turn off TrackIR if TrackIR is started
|
||||||
FlightSimOrchestrator.TurnOffTrackIR();
|
FlightSimOrchestrator.TurnOffTrackIR();
|
||||||
Thread.Sleep(500);
|
|
||||||
|
|
||||||
// Turn on Active Pause
|
// Turn on Active Pause
|
||||||
FlightSimOrchestrator.TurnOnActivePause();
|
FlightSimOrchestrator.TurnOnActivePause();
|
||||||
Thread.Sleep(500);
|
|
||||||
|
|
||||||
// Setting custom camera angle for auto panning
|
// Setting custom camera angle for auto panning
|
||||||
if (AppSetting.PopOutSetting.AutoPanning.IsEnabled)
|
if (AppSetting.PopOutSetting.AutoPanning.IsEnabled)
|
||||||
|
@ -211,13 +209,11 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
WorkflowStepWithMessage.Execute("Resetting camera view", () =>
|
WorkflowStepWithMessage.Execute("Resetting camera view", () =>
|
||||||
{
|
{
|
||||||
ResetCockpitView();
|
ResetCockpitView();
|
||||||
Thread.Sleep(1000);
|
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
WorkflowStepWithMessage.Execute("Loading custom camera view", () =>
|
WorkflowStepWithMessage.Execute("Loading custom camera view", () =>
|
||||||
{
|
{
|
||||||
LoadCustomView(AppSetting.PopOutSetting.AutoPanning.KeyBinding);
|
LoadCustomView(AppSetting.PopOutSetting.AutoPanning.KeyBinding);
|
||||||
Thread.Sleep(1000);
|
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
WorkflowStepWithMessage.Execute("Setting camera zoom level", () =>
|
WorkflowStepWithMessage.Execute("Setting camera zoom level", () =>
|
||||||
|
@ -544,7 +540,6 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
WorkflowStepWithMessage.Execute("Resetting camera view", () =>
|
WorkflowStepWithMessage.Execute("Resetting camera view", () =>
|
||||||
{
|
{
|
||||||
ResetCockpitView();
|
ResetCockpitView();
|
||||||
Thread.Sleep(1000);
|
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
WorkflowStepWithMessage.Execute("Setting camera zoom level", () =>
|
WorkflowStepWithMessage.Execute("Setting camera zoom level", () =>
|
||||||
|
@ -557,13 +552,11 @@ namespace MSFSPopoutPanelManager.Orchestration
|
||||||
WorkflowStepWithMessage.Execute("Resetting camera view", () =>
|
WorkflowStepWithMessage.Execute("Resetting camera view", () =>
|
||||||
{
|
{
|
||||||
ResetCockpitView();
|
ResetCockpitView();
|
||||||
Thread.Sleep(1000);
|
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
WorkflowStepWithMessage.Execute("Loading custom camera view", () =>
|
WorkflowStepWithMessage.Execute("Loading custom camera view", () =>
|
||||||
{
|
{
|
||||||
LoadCustomView(AppSetting.PopOutSetting.AfterPopOutCameraView.KeyBinding);
|
LoadCustomView(AppSetting.PopOutSetting.AfterPopOutCameraView.KeyBinding);
|
||||||
Thread.Sleep(1000);
|
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
WorkflowStepWithMessage.Execute("Setting camera zoom level", () =>
|
WorkflowStepWithMessage.Execute("Setting camera zoom level", () =>
|
||||||
|
|
Loading…
Reference in a new issue