Bug fixed: VarWidth fonts height change resets all frames' width

This commit is contained in:
2025-05-17 02:20:01 +03:00
parent 647e5f5601
commit 03ef799381
2 changed files with 1 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ namespace McBitFont {
private void nudY_ValueChanged(object sender, EventArgs e) {
Bitmap bmp;
for (int i = 0; i < frames.Count; i++) {
frames[i] = frameResize(frames[i], dotWidth, (int)nudY.Value);
frames[i] = frameResize(frames[i], frames[i].width, (int)nudY.Value);
bmp = getMiniPictue(frames[i]);
string s = frames[i].code.ToString().PadLeft(3, '0');
ilMiniatures.Images.RemoveByKey(s);