Added forgotten file, this still belongs to FEATURE-758

This commit is contained in:
RKrom 2014-11-08 23:04:27 +01:00
parent 680b2baf22
commit dfcbb44c6b

View file

@ -457,12 +457,14 @@ namespace GreenshotPlugin.Core {
if (IconSize.Width > 256) {
IconSize.Width = 256;
}
IconSize.Width = (IconSize.Width / 16) * 16;
if (IconSize.Height < 16) {
IconSize.Height = 16;
}
if (IconSize.Height > 256) {
IconSize.Height = 256;
}
IconSize.Height = (IconSize.Height/16)*16;
}
}