mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-21 13:20:11 +00:00
Add failure condition for loading custom camera view
This commit is contained in:
parent
5bbdc539eb
commit
c43c520b19
1 changed files with 7 additions and 0 deletions
|
@ -55,6 +55,13 @@ namespace MSFSPopoutPanelManager.WindowsAgent
|
|||
|
||||
LeftClick(x, y);
|
||||
|
||||
// Force cursor reset
|
||||
PInvoke.SetCursorPos(x + 1, y);
|
||||
Thread.Sleep(100);
|
||||
|
||||
PInvoke.SetCursorPos(x, y);
|
||||
Thread.Sleep(300);
|
||||
|
||||
if (useSecondaryKeys)
|
||||
{
|
||||
InputSimulator.Keyboard.KeyDown(WindowsInput.Native.VirtualKeyCode.LCONTROL);
|
||||
|
|
Loading…
Reference in a new issue