fix: allow smaller size icons

This commit is contained in:
goat 2021-08-23 08:31:06 +02:00
parent b1a596a598
commit d6fdb99fd0
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -1477,7 +1477,7 @@ namespace Dalamud.Interface.Internal.Windows
if (icon != null)
{
if (icon.Height != PluginIconHeight || icon.Width != PluginIconWidth)
if (icon.Height > PluginIconHeight || icon.Width > PluginIconWidth)
{
Log.Error($"Icon at {manifest.IconUrl} was not of the correct resolution.");
return;