Bläddra i källkod

Fixed Swapped width and height in export

flabbet 5 år sedan
förälder
incheckning
7741d96132
2 ändrade filer med 3 tillägg och 3 borttagningar
  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);
-                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
             {
                 _mouseXonCanvas = value;
-                RaisePropertyChanged("MouseXonCanvas");
+                RaisePropertyChanged("MouseXOnCanvas");
             }
         }
 
@@ -99,7 +99,7 @@ namespace PixiEditor.ViewModels
             set
             {
                 _mouseYonCanvas = value;
-                RaisePropertyChanged("MouseYonCanvas");
+                RaisePropertyChanged("MouseYOnCanvas");
             }
         }