[BUG] Fix hidden files not shown transparent, version 1.2.0.10

This commit is contained in:
Markus Hofknecht 2022-01-07 12:40:55 +01:00
parent d2705342c0
commit 6d28822851
5 changed files with 7 additions and 4 deletions

View file

@ -524,6 +524,7 @@ namespace SystemTrayMenu.Business
}
RowData rowData = ReadRowData(file, false, false);
rowData.HiddenEntry = hiddenEntry;
string resolvedLnkPath = string.Empty;
if (rowData.ReadIcon(false, ref resolvedLnkPath, level))
{

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.2.0.9")]
[assembly: AssemblyFileVersion("1.2.0.9")]
[assembly: AssemblyVersion("1.2.0.10")]
[assembly: AssemblyFileVersion("1.2.0.10")]

View file

@ -165,6 +165,8 @@ Thanks for ideas, reporting issues and contributing!
#275 #276 #278 [donaldaken](https://github.com/donaldaken),
#277 Jan S.,
#282 [akuznets](https://github.com/akuznets),
#283 #284 [RuSieg](https://github.com/RuSieg),
#285 #286 [dao-net](https://github.com/dao-net),
Donations

View file

@ -101,7 +101,7 @@ namespace SystemTrayMenu.Helper
ab.AppMoreInfo += "#205 kristofzerbe, #209 jonaskohl, #211 blacksparrow15, #220 Yavuz E., #229 #230 #239 Peter O., #231 Ryonez, ";
ab.AppMoreInfo += "#235 #242 243 #247, #271 Tom, #237 Torsten S., #240 video Patrick, #244 Gunter D., #246 MACE4GITHUB, #259 vanjac, ";
ab.AppMoreInfo += "#262 terencemcdonnell, #269 petersnows25, #272 Peter M., #273 #274 ParasiteDelta, #275 #276 #278 donaldaken, ";
ab.AppMoreInfo += "#277 Jan S., #282 akuznets," + Environment.NewLine;
ab.AppMoreInfo += "#277 Jan S., #282 akuznets, #283 #284 RuSieg, #285 #286 dao-net," + Environment.NewLine;
ab.AppDetailsButton = true;
ab.ShowDialog();
}

View file

@ -368,7 +368,7 @@ namespace SystemTrayMenu.Utilities
using Bitmap target = new(originalIcon.Width, originalIcon.Height, PixelFormat.Format32bppArgb);
using Graphics graphics = Graphics.FromImage(target);
graphics.DrawIcon(originalIcon, 0, 0);
graphics.DrawIcon(overlay, 0, 0);
graphics.DrawIcon(overlay, new(0, 0, originalIcon.Width + 2, originalIcon.Height + 2));
target.MakeTransparent(target.GetPixel(1, 1));
IntPtr hIcon = target.GetHicon();
icon = (Icon)Icon.FromHandle(hIcon).Clone();