Browse Source

Fixed syntax error

flabbet 3 years ago
parent
commit
937e37582d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      PixiEditor/Models/DataHolders/Document/Document.Operations.cs

+ 1 - 1
PixiEditor/Models/DataHolders/Document/Document.Operations.cs

@@ -84,7 +84,7 @@ namespace PixiEditor.Models.DataHolders
                 using (new SKAutoCanvasRestore(layer.LayerBitmap.SkiaSurface.Canvas, true))
                 {
                     var copy = layer.LayerBitmap.SkiaSurface.Snapshot();
-                    layer.CreateNewBitmap(layer.Width + horizontalModifier, 
+                    layer.CreateNewBitmap(layer.Width, layer.Height); 
 
                     var canvas = layer.LayerBitmap.SkiaSurface.Canvas;