Fix PKMEditor sidebar scaling (#3752)

Closes #3750
This commit is contained in:
Manu
2023-01-30 19:22:02 +01:00
committed by GitHub
parent 5265643f3e
commit 0dc9deb137

View File

@@ -43,7 +43,7 @@ protected override void OnDrawItem(DrawItemEventArgs e)
protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
{
base.ScaleControl(factor, specified);
ItemSize = new((int)(ItemSize.Height * factor.Height), (int)(ItemSize.Width * factor.Width));
ItemSize = new(height: (int)(ItemSize.Height * factor.Height), width: (int)(ItemSize.Width * factor.Width)); ;
}
}