@@ -229,7 +229,6 @@ namespace PixiEditor.Models.DataHolders
{
for (int i = 0; i < Layers.Count; i++)
- Layers[i].ClipCanvas();
Layers[i].Offset = offset[i];
Layers[i].MaxWidth = newWidth;
Layers[i].MaxHeight = newHeight;
@@ -209,6 +209,8 @@ namespace PixiEditor.Models.Layers
public bool IsReset { get; private set; }
+ public Int32Rect TightBounds => GetContentDimensions();
+
public event EventHandler<Int32Rect> LayerBitmapChanged;
public void InvokeLayerBitmapChange()