mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-16 02:13:39 +12:00
[Feature] Sharper folder icon at 200% (#395), 1.2.9.15
This commit is contained in:
parent
c79cefd1c9
commit
e5e1f848e4
|
@ -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.9.14")]
|
||||
[assembly: AssemblyFileVersion("1.2.9.14")]
|
||||
[assembly: AssemblyVersion("1.2.9.15")]
|
||||
[assembly: AssemblyFileVersion("1.2.9.15")]
|
||||
|
|
|
@ -152,11 +152,7 @@ namespace SystemTrayMenu.Utilities
|
|||
{
|
||||
loading = false;
|
||||
string extension = Path.GetExtension(filePath);
|
||||
IconSize size = IconSize.Small;
|
||||
if (Scaling.Factor > 1)
|
||||
{
|
||||
size = IconSize.Large;
|
||||
}
|
||||
IconSize size = IconSize.Large;
|
||||
|
||||
string key = filePath;
|
||||
if (!string.IsNullOrEmpty(keyPath))
|
||||
|
@ -197,8 +193,13 @@ namespace SystemTrayMenu.Utilities
|
|||
{
|
||||
loading = false;
|
||||
|
||||
// always IconSize.Small, because IconSize.Large returns another folder icon than windows explorer
|
||||
IconSize size = IconSize.Small;
|
||||
if (Scaling.Factor >= 1.50f ||
|
||||
Properties.Settings.Default.IconSizeInPercent / 100f >= 1.50f)
|
||||
{
|
||||
// IconSize.Large returns another folder icon than windows explorer
|
||||
size = IconSize.Large;
|
||||
}
|
||||
|
||||
string key = path;
|
||||
|
||||
|
|
Loading…
Reference in a new issue