Browse Source

Remove export size limit

Equbuxu 3 years ago
parent
commit
3d6ac7120d
1 changed files with 0 additions and 7 deletions
  1. 0 7
      PixiEditor/Models/IO/Exporter.cs

+ 0 - 7
PixiEditor/Models/IO/Exporter.cs

@@ -60,13 +60,6 @@ namespace PixiEditor.Models.IO
             // If OK on dialog has been clicked
             if (info.ShowDialog())
             {
-                // If sizes are incorrect
-                if (info.FileWidth < bitmap.Width || info.FileHeight < bitmap.Height)
-                {
-                    MessageBox.Show("Incorrect height or width value", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
-                    return;
-                }
-
                 SaveAsPng(info.FilePath, info.FileWidth, info.FileHeight, bitmap);
             }
         }