From 03ef799381fc42b1fa46379ba7c9825dbed9f13d Mon Sep 17 00:00:00 2001 From: Anton Mukhin Date: Sat, 17 May 2025 02:20:01 +0300 Subject: [PATCH] Bug fixed: VarWidth fonts height change resets all frames' width --- McBitFont/Form1.cs | 2 +- TODO.txt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/McBitFont/Form1.cs b/McBitFont/Form1.cs index 8a83ea0..81766f4 100644 --- a/McBitFont/Form1.cs +++ b/McBitFont/Form1.cs @@ -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); diff --git a/TODO.txt b/TODO.txt index 7dc7c23..5015acf 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,5 +1,4 @@ Application: -- Implement "Save" menu Functionality: - Context menu in symbol navigator @@ -20,4 +19,3 @@ Functionality: - "Packed" fonts export Bugs: -- Every char changes its width to default on VarWidth font height change! \ No newline at end of file