[Feature] Round corners (#236), version 1.0.26.1

This commit is contained in:
Markus Hofknecht 2021-11-13 21:30:54 +01:00
parent 9333577a4f
commit 53b2a5082d
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@
<Identity
Name="49543SystemTrayMenu.SystemTrayMenu"
Publisher="CN=5884501C-92ED-45DE-9508-9D987C314243"
Version="1.0.25.0" />
Version="1.0.26.0" />
<Properties>
<DisplayName>SystemTrayMenu</DisplayName>

View file

@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.26.0")]
[assembly: AssemblyFileVersion("1.0.26.0")]
[assembly: AssemblyVersion("1.0.26.1")]
[assembly: AssemblyFileVersion("1.0.26.1")]

View file

@ -482,7 +482,7 @@ namespace SystemTrayMenu.UserInterface
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));
}
}