diff --git a/Mk0.Software.ImageSorter/Main.cs b/Mk0.Software.ImageSorter/Main.cs index 2d17cf9..0b59f5d 100644 --- a/Mk0.Software.ImageSorter/Main.cs +++ b/Mk0.Software.ImageSorter/Main.cs @@ -49,11 +49,9 @@ namespace Mk0.Software.ImageSorter private FormWindowState lastState = FormWindowState.Minimized; private string defaultWindowName; private bool blockZoom = false; - private float scaling; public Main() { - scaling = (float)DeviceDpi / 96; blockZoom = true; InitializeComponent(); defaultWindowName = Text; @@ -756,12 +754,9 @@ namespace Mk0.Software.ImageSorter { imageIndex = 0; } - //blockZoom = true; pictureBoxImage.LoadAsync(CropImageBorders(images.ElementAt(imageIndex))); string resolutionTitle = ""; Text = defaultWindowName + " - " + Path.GetFileName(pictureBoxImage.ImageLocation) + resolutionTitle; - //Zoom(); - //Zoom(); } else { @@ -1297,7 +1292,6 @@ namespace Mk0.Software.ImageSorter /// private void PictureBox_LoadCompleted(object sender, AsyncCompletedEventArgs e) { - //if (blockZoom) { blockZoom = false; } else { Zoom(); } Zoom(); }