Skip to content

Commit

Permalink
Fixed stuff I broke _again_
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbet committed Feb 12, 2022
1 parent 8bcf943 commit c625c54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ private void ResizeCanvas(Thickness[] offset, int newWidth, int newHeight)
{
for (int i = 0; i < Layers.Count; i++)
{
Layers[i].ClipCanvas();
Layers[i].Offset = offset[i];
Layers[i].MaxWidth = newWidth;
Layers[i].MaxHeight = newHeight;
Expand Down
1 change: 0 additions & 1 deletion PixiEditor/Models/Undo/StorageBasedChange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ private static void ApplyChunkToLayer(Layer layer, UndoLayer layerData, Surface
//DebugSavePng(targetSizeSurface, layerData);

layer.LayerBitmap = targetSizeSurface;
layer.ClipCanvas();
}

public void Dispose()
Expand Down

0 comments on commit c625c54

Please sign in to comment.