#258 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
commit 2330d6af57
No known key found for this signature in database
GPG key ID: BCC01364F1371490

View file

@ -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();
}