Browse Source

Fixed Swapped width and height in export

flabbet 5 years ago
parent
commit
7741d96132
2 changed files with 3 additions and 3 deletions
  1. 1 1
      PixiEditor/Models/IO/Exporter.cs
  2. 2 2
      PixiEditor/ViewModels/ViewModelMain.cs

+ 1 - 1
PixiEditor/Models/IO/Exporter.cs

@@ -56,7 +56,7 @@ namespace PixiEditor.Models.IO
                 }
                 }
 
 
                 FileDimensions = new Size(info.FileWidth, info.FileHeight);
                 FileDimensions = new Size(info.FileWidth, info.FileHeight);
-                SaveAsPng(info.FilePath, info.FileHeight, info.FileWidth, bitmap);
+                SaveAsPng(info.FilePath, info.FileWidth, info.FileHeight, bitmap);
             }
             }
         }
         }
 
 

+ 2 - 2
PixiEditor/ViewModels/ViewModelMain.cs

@@ -89,7 +89,7 @@ namespace PixiEditor.ViewModels
             set
             set
             {
             {
                 _mouseXonCanvas = value;
                 _mouseXonCanvas = value;
-                RaisePropertyChanged("MouseXonCanvas");
+                RaisePropertyChanged("MouseXOnCanvas");
             }
             }
         }
         }
 
 
@@ -99,7 +99,7 @@ namespace PixiEditor.ViewModels
             set
             set
             {
             {
                 _mouseYonCanvas = value;
                 _mouseYonCanvas = value;
-                RaisePropertyChanged("MouseYonCanvas");
+                RaisePropertyChanged("MouseYOnCanvas");
             }
             }
         }
         }