1
0
mirror of https://github.com/greenshot/greenshot.git synced 2025-03-12 05:25:25 -07:00

In the settings form there was DPI scaling done on the icon size, this seems to have unfortunate side effects, so I removed this.

This commit is contained in:
Robin Krom 2021-05-27 09:12:28 +02:00
parent fa0ed4a53b
commit 2330d6af57
No known key found for this signature in database
GPG Key ID: BCC01364F1371490

@ -533,8 +533,7 @@ namespace Greenshot.Forms
numericUpDown_daysbetweencheck.Value = coreConfiguration.UpdateCheckInterval;
numericUpDown_daysbetweencheck.Enabled = !coreConfiguration.Values["UpdateCheckInterval"].IsFixed;
var scaledIconSize = DpiHelper.ScaleWithDpi(coreConfiguration.IconSize, DpiHelper.GetDpi(Handle));
numericUpdownIconSize.Value = scaledIconSize.Width / 16 * 16;
numericUpdownIconSize.Value = coreConfiguration.IconSize.Width;
CheckDestinationSettings();
}