mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-27 02:21:01 +12:00
[Feature] Round corners (#236), version 1.0.26.1
This commit is contained in:
parent
9333577a4f
commit
53b2a5082d
|
@ -10,7 +10,7 @@
|
||||||
<Identity
|
<Identity
|
||||||
Name="49543SystemTrayMenu.SystemTrayMenu"
|
Name="49543SystemTrayMenu.SystemTrayMenu"
|
||||||
Publisher="CN=5884501C-92ED-45DE-9508-9D987C314243"
|
Publisher="CN=5884501C-92ED-45DE-9508-9D987C314243"
|
||||||
Version="1.0.25.0" />
|
Version="1.0.26.0" />
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>SystemTrayMenu</DisplayName>
|
<DisplayName>SystemTrayMenu</DisplayName>
|
||||||
|
|
|
@ -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.0")]
|
[assembly: AssemblyVersion("1.0.26.1")]
|
||||||
[assembly: AssemblyFileVersion("1.0.26.0")]
|
[assembly: AssemblyFileVersion("1.0.26.1")]
|
||||||
|
|
|
@ -482,7 +482,7 @@ namespace SystemTrayMenu.UserInterface
|
||||||
|
|
||||||
if (Properties.Settings.Default.RoundCorners)
|
if (Properties.Settings.Default.RoundCorners)
|
||||||
{
|
{
|
||||||
Region = Region.FromHrgn(NativeMethods.CreateRoundCorners(Width, Height + 1, 15, 15));
|
Region = Region.FromHrgn(NativeMethods.CreateRoundCorners(Width + 1, Height + 1, 15, 15));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue