mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 06:34:19 +00:00
Enhance type icon downscale
No need to override the interpolation settings, looks way better.
This commit is contained in:
parent
a79581e965
commit
0be5581638
1 changed files with 0 additions and 2 deletions
|
@ -1763,8 +1763,6 @@ public sealed partial class PKMEditor : UserControl, IMainEditor
|
|||
int shiftX = 0;
|
||||
if (icon is not null)
|
||||
{
|
||||
g.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.Half;
|
||||
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
|
||||
g.DrawImage(icon, e.Bounds with { Width = e.Bounds.Height }); // Left side of the rectangle.
|
||||
shiftX += e.Bounds.Height + 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue