From 2330d6af57d3c991c1945d28ab3f0765209b4f7e Mon Sep 17 00:00:00 2001 From: Robin Krom Date: Thu, 27 May 2021 09:12:28 +0200 Subject: [PATCH] #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. --- src/Greenshot/Forms/SettingsForm.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Greenshot/Forms/SettingsForm.cs b/src/Greenshot/Forms/SettingsForm.cs index e236360d1..4ac354aca 100644 --- a/src/Greenshot/Forms/SettingsForm.cs +++ b/src/Greenshot/Forms/SettingsForm.cs @@ -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(); }