From 912b15ff3f8cf8b7cd99572f979123777f63a39d Mon Sep 17 00:00:00 2001 From: Anton Mukhin Date: Tue, 27 May 2025 03:02:09 +0300 Subject: [PATCH] Little fixes (set baseline UI) --- McBitFont/Form1.Designer.cs | 1 - McBitFont/Form1.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/McBitFont/Form1.Designer.cs b/McBitFont/Form1.Designer.cs index d930070..14f469d 100644 --- a/McBitFont/Form1.Designer.cs +++ b/McBitFont/Form1.Designer.cs @@ -123,7 +123,6 @@ dotPanel.Paint += dotPanel_Paint; dotPanel.MouseDown += dotPanel_MouseMove; dotPanel.MouseMove += dotPanel_MouseMove; - dotPanel.MouseUp += dotPanel_MouseMove; dotPanel.Resize += cbZoom_SelectedIndexChanged; // // nudX diff --git a/McBitFont/Form1.cs b/McBitFont/Form1.cs index 9221d0a..a9b011f 100644 --- a/McBitFont/Form1.cs +++ b/McBitFont/Form1.cs @@ -1296,7 +1296,7 @@ namespace McBitFont { //MessageBox.Show(w + ": Length: " + w.Length + " Bits: " + bits + " Converted: " + data.Last() + "\nData length: " + data.Count); } } - if (MessageBox.Show(bits + "-font found. " + data.Count + " numbers (" + data.Count * bits / 8 + " bytes) total\n" + "Start code: " + data.ElementAt(4) + " End code: " + data.ElementAt(5) + "\nDo you want to load it?", "Import from text file", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { + if (MessageBox.Show(bits + "-bit font found. " + data.Count + " numbers (" + data.Count * bits / 8 + " bytes) total\n" + "Start code: " + data.ElementAt(4) + " End code: " + data.ElementAt(5) + "\nDo you want to load it?", "Import from text file", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { // Font header bool packed = data.ElementAt(0) == 1; int width= (int)data.ElementAt(1);