Skip to content

Commit

Permalink
Fixed tests, of course
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbet committed Mar 11, 2021
1 parent e7c6e0d commit 8bf16c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PixiEditorTests/ModelsTests/DataHoldersTests/DocumentTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ public void TestThatCenterContentCentersContentForMultipleLayers(int docWidth, i
manager.ActiveDocument.AddNewLayer("test2");
manager.ActiveLayer.SetPixel(new Coordinates(1, 1), Colors.Green);

foreach (var layer in manager.ActiveDocument.Layers)
{
layer.IsActive = true;
}

doc.CenterContent();

int midWidth = (int)Math.Floor(docWidth / 2f);
Expand Down

0 comments on commit 8bf16c9

Please sign in to comment.