mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Fix window resize issue
This commit is contained in:
parent
b0024b5603
commit
40d580b5a9
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ private void AutoSizeForm()
|
||||||
|
|
||||||
Point newLocation = Location;
|
Point newLocation = Location;
|
||||||
SpecialWindowHandles insertAfter = Options.TopMost ? SpecialWindowHandles.HWND_TOPMOST : SpecialWindowHandles.HWND_TOP;
|
SpecialWindowHandles insertAfter = Options.TopMost ? SpecialWindowHandles.HWND_TOPMOST : SpecialWindowHandles.HWND_TOP;
|
||||||
SetWindowPosFlags flags = SetWindowPosFlags.SWP_NOACTIVATE;
|
SetWindowPosFlags flags = SetWindowPosFlags.SWP_NOACTIVATE | SetWindowPosFlags.SWP_NOSENDCHANGING;
|
||||||
|
|
||||||
if (Options.KeepCenterLocation)
|
if (Options.KeepCenterLocation)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue