mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-21 13:20:11 +00:00
Release v4.0.1.2
This commit is contained in:
parent
237fdfc1a2
commit
f7df9c8c45
10 changed files with 74 additions and 41 deletions
|
@ -11,9 +11,9 @@
|
|||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||
<RootNamespace>MSFSPopoutPanelManager.DomainModel</RootNamespace>
|
||||
<Platforms>x64</Platforms>
|
||||
<Version>4.0.1.1</Version>
|
||||
<AssemblyVersion>4.0.1.1</AssemblyVersion>
|
||||
<FileVersion>4.0.1.1</FileVersion>
|
||||
<Version>4.0.1.2</Version>
|
||||
<AssemblyVersion>4.0.1.2</AssemblyVersion>
|
||||
<FileVersion>4.0.1.2</FileVersion>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<DebugType>Embedded</DebugType>
|
||||
<Configurations>Debug;Release;Local</Configurations>
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
<RootNamespace>MSFSPopoutPanelManager.MainApp</RootNamespace>
|
||||
<ApplicationIcon>logo.ico</ApplicationIcon>
|
||||
<Platforms>x64</Platforms>
|
||||
<Version>4.0.1.1</Version>
|
||||
<AssemblyVersion>4.0.1.1</AssemblyVersion>
|
||||
<FileVersion>4.0.1.1</FileVersion>
|
||||
<Version>4.0.1.2</Version>
|
||||
<AssemblyVersion>4.0.1.2</AssemblyVersion>
|
||||
<FileVersion>4.0.1.2</FileVersion>
|
||||
<DebugType>embedded</DebugType>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
<!-- Publishing options -->
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||
<RootNamespace>MSFSPopoutPanelManager.Orchestration</RootNamespace>
|
||||
<Platforms>x64</Platforms>
|
||||
<Version>4.0.1.1</Version>
|
||||
<AssemblyVersion>4.0.1.1</AssemblyVersion>
|
||||
<FileVersion>4.0.1.1</FileVersion>
|
||||
<Version>4.0.1.2</Version>
|
||||
<AssemblyVersion>4.0.1.2</AssemblyVersion>
|
||||
<FileVersion>4.0.1.2</FileVersion>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<DebugType>Embedded</DebugType>
|
||||
<Configurations>Debug;Release;Local</Configurations>
|
||||
|
|
|
@ -319,7 +319,8 @@ namespace MSFSPopoutPanelManager.Orchestration
|
|||
if (!ActiveProfile.ProfileSetting.RefocusOnDisplay.IsEnabled)
|
||||
return;
|
||||
|
||||
var panelConfig = ActiveProfile.PanelConfigs.FirstOrDefault(p => p.PanelType == PanelType.RefocusDisplay);
|
||||
foreach (var panelConfig in ActiveProfile.PanelConfigs.Where(p => p.PanelType == PanelType.RefocusDisplay))
|
||||
{
|
||||
if (panelConfig != null)
|
||||
{
|
||||
StatusMessageWriter.WriteMessage($"Configurating {panelConfig.PanelName} for auto refocus on touch", StatusMessageType.Info);
|
||||
|
@ -327,6 +328,7 @@ namespace MSFSPopoutPanelManager.Orchestration
|
|||
StatusMessageWriter.WriteOkStatusMessage();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void StepApplyPanelConfig()
|
||||
{
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
## Version 4.0.1.2
|
||||
* Hotfix - Fixed issue where using touch panel feature may freeze computer and the application.
|
||||
|
||||
Known Issue:
|
||||
If the profile has the option of "entire monitor display to have game refocus fucntion when touch" enabled, the configuration of display panels must be listed after the configuration of pop out panels in profile configuration.
|
||||
|
||||
## Version 4.0.1.1
|
||||
|
||||
* Added preference option in pop out settings to disable pop out progress messages from appearing.
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||
<RootNamespace>MSFSPopoutPanelManager.Shared</RootNamespace>
|
||||
<Platforms>x64</Platforms>
|
||||
<Version>4.0.1.1</Version>
|
||||
<AssemblyVersion>4.0.1.1</AssemblyVersion>
|
||||
<FileVersion>4.0.1.1</FileVersion>
|
||||
<Version>4.0.1.2</Version>
|
||||
<AssemblyVersion>4.0.1.2</AssemblyVersion>
|
||||
<FileVersion>4.0.1.2</FileVersion>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<DebugType>Embedded</DebugType>
|
||||
<Configurations>Debug;Release;Local</Configurations>
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||
<RootNamespace>MSFSPopoutPanelManager.SimConnectAgent</RootNamespace>
|
||||
<Platforms>x64</Platforms>
|
||||
<Version>4.0.1.1</Version>
|
||||
<AssemblyVersion>4.0.1.1</AssemblyVersion>
|
||||
<FileVersion>4.0.1.1</FileVersion>
|
||||
<Version>4.0.1.2</Version>
|
||||
<AssemblyVersion>4.0.1.2</AssemblyVersion>
|
||||
<FileVersion>4.0.1.2</FileVersion>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<DebugType>Embedded</DebugType>
|
||||
<Configurations>Debug;Release;Local</Configurations>
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
# Version History
|
||||
<hr/>
|
||||
|
||||
## Version 4.0.1.2
|
||||
* Hotfix - Fixed issue where using touch panel feature may freeze computer and the application.
|
||||
|
||||
Known Issue:
|
||||
If the profile has the option of "entire monitor display to have game refocus fucntion when touch" enabled, the configuration of display panels must be listed after the configuration of pop out panels in profile configuration.
|
||||
|
||||
## Version 4.0.1
|
||||
|
||||
* Added preference option in pop out settings to disable pop out progress messages from appearing.
|
||||
|
|
|
@ -119,9 +119,31 @@ namespace MSFSPopoutPanelManager.WindowsAgent
|
|||
}
|
||||
return 1;
|
||||
case WM_LBUTTONUP:
|
||||
if (panelConfig.PanelType == PanelType.RefocusDisplay)
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
if (panelConfig.PanelType != PanelType.RefocusDisplay)
|
||||
_isTouchDown = false;
|
||||
_isDragged = false;
|
||||
|
||||
// Refocus game window
|
||||
if (ApplicationSetting.RefocusSetting.RefocusGameWindow.IsEnabled && panelConfig.AutoGameRefocus)
|
||||
{
|
||||
var currentRefocusIndex = _refocusedTaskIndex;
|
||||
|
||||
Thread.Sleep(Convert.ToInt32(ApplicationSetting.RefocusSetting.RefocusGameWindow.Delay * 1000));
|
||||
|
||||
if (currentRefocusIndex == _refocusedTaskIndex)
|
||||
{
|
||||
var rect = WindowActionManager.GetWindowRectangle(WindowProcessManager.SimulatorProcess.Handle);
|
||||
InputEmulationManager.LeftClick(rect.X + rect.Width / 2, rect.Y + rect.Height / 2);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
while (_isTouchDown) { }
|
||||
|
||||
|
@ -148,7 +170,6 @@ namespace MSFSPopoutPanelManager.WindowsAgent
|
|||
}
|
||||
|
||||
_isTouchDown = false;
|
||||
}
|
||||
|
||||
// Refocus game window
|
||||
if (ApplicationSetting.RefocusSetting.RefocusGameWindow.IsEnabled && panelConfig.AutoGameRefocus)
|
||||
|
@ -161,12 +182,10 @@ namespace MSFSPopoutPanelManager.WindowsAgent
|
|||
{
|
||||
var rect = WindowActionManager.GetWindowRectangle(WindowProcessManager.SimulatorProcess.Handle);
|
||||
PInvoke.SetCursorPos(rect.X + rect.Width / 2, rect.Y + rect.Height / 2);
|
||||
|
||||
if (panelConfig.PanelType == PanelType.RefocusDisplay)
|
||||
InputEmulationManager.LeftClick(rect.X + rect.Width / 2, rect.Y + rect.Height / 2);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
return 1;
|
||||
case WM_MOUSEMOVE:
|
||||
if (_isTouchDown)
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
<PackageProjectUrl>https://github.com/hawkeye-stan/msfs-popout-panel-manager</PackageProjectUrl>
|
||||
<RootNamespace>MSFSPopoutPanelManager.WindowsAgent</RootNamespace>
|
||||
<Platforms>x64</Platforms>
|
||||
<Version>4.0.1.1</Version>
|
||||
<AssemblyVersion>4.0.1.1</AssemblyVersion>
|
||||
<FileVersion>4.0.1.1</FileVersion>
|
||||
<Version>4.0.1.2</Version>
|
||||
<AssemblyVersion>4.0.1.2</AssemblyVersion>
|
||||
<FileVersion>4.0.1.2</FileVersion>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<DebugType>Embedded</DebugType>
|
||||
<Configurations>Debug;Release;Local</Configurations>
|
||||
|
|
Loading…
Reference in a new issue