1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-22 05:40:11 +00:00

Version 2.1.1

This commit is contained in:
hawkeye 2021-11-11 22:46:34 -05:00
parent d2a732b634
commit 4ca7a8e7b2
3 changed files with 7 additions and 2 deletions

View file

@ -5,7 +5,7 @@
<TargetFramework>net5.0-windows</TargetFramework> <TargetFramework>net5.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>
<Version>2.1</Version> <Version>2.1.1.0</Version>
<AssemblyName>MSFSPopoutPanelManager</AssemblyName> <AssemblyName>MSFSPopoutPanelManager</AssemblyName>
<RootNamespace>MSFSPopoutPanelManager</RootNamespace> <RootNamespace>MSFSPopoutPanelManager</RootNamespace>
<ApplicationIcon>WindowManager.ico</ApplicationIcon> <ApplicationIcon>WindowManager.ico</ApplicationIcon>
@ -13,6 +13,8 @@
<Product>MSFS 2020 Popout Panel Manager</Product> <Product>MSFS 2020 Popout Panel Manager</Product>
<PackageId>MSFS 2020 Popout Panel Manager</PackageId> <PackageId>MSFS 2020 Popout Panel Manager</PackageId>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AssemblyVersion>2.1.1.0</AssemblyVersion>
<FileVersion>2.1.1.0</FileVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View file

@ -268,7 +268,7 @@ namespace MSFSPopoutPanelManager
// Get a snippet of 1 pixel wide vertical strip of windows. We will choose the strip left of center. // Get a snippet of 1 pixel wide vertical strip of windows. We will choose the strip left of center.
// This is to determine when the actual panel's vertical pixel starts in the window. This will allow accurate sizing of the template image // This is to determine when the actual panel's vertical pixel starts in the window. This will allow accurate sizing of the template image
var clientWindowHeight = rect.Bottom - rect.Top; var clientWindowHeight = rect.Bottom - rect.Top;
var left = Convert.ToInt32((rect.Right - rect.Left) * 0.25); // look at around 25% from the left var left = Convert.ToInt32((rect.Right - rect.Left) * 0.48); // look at around 48% from the left
var top = sourceImage.Height - clientWindowHeight; var top = sourceImage.Height - clientWindowHeight;
if (top < 0 || left < 0) if (top < 0 || left < 0)

View file

@ -1,6 +1,9 @@
# Version History # Version History
<hr/> <hr/>
## Vesion 2.1.1.0
* Fixed panel separation issue for super ultrawide monitor (for example: 3840x1080)
## Vesion 2.1.0.0 ## Vesion 2.1.0.0
* Added ability to delete built-in profile. * Added ability to delete built-in profile.
* Added ability to create and delete custom user profile. * Added ability to create and delete custom user profile.