mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-03 02:55:17 +12:00
[BUG] Round Corners Fail to Show Outline (#238), version 1.0.26.2
This commit is contained in:
parent
53b2a5082d
commit
1f84df7300
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.26.1")]
|
[assembly: AssemblyVersion("1.0.26.2")]
|
||||||
[assembly: AssemblyFileVersion("1.0.26.1")]
|
[assembly: AssemblyFileVersion("1.0.26.2")]
|
||||||
|
|
|
@ -483,6 +483,7 @@ namespace SystemTrayMenu.UserInterface
|
||||||
if (Properties.Settings.Default.RoundCorners)
|
if (Properties.Settings.Default.RoundCorners)
|
||||||
{
|
{
|
||||||
Region = Region.FromHrgn(NativeMethods.CreateRoundCorners(Width + 1, Height + 1, 15, 15));
|
Region = Region.FromHrgn(NativeMethods.CreateRoundCorners(Width + 1, Height + 1, 15, 15));
|
||||||
|
tableLayoutPanelMenu.Region = Region.FromHrgn(NativeMethods.CreateRoundCorners(Width - 1, Height - 1, 15, 15));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue