Added new test case for the 'black screen on returning from minimized windo' bug: The new button sets the DrawSizePreservingFillContainer's Parent.Size to (1, 1), breaking the scaling in the process (nothing should appear even after resizing at that point)

This commit is contained in:
FreezyLemon
2017-11-30 09:15:27 +01:00
parent 4fc866eee3
commit d81dde25ed

View File

@@ -56,6 +56,8 @@ namespace osu.Framework.Tests.Visual
AddSliderStep("Width", 50, 650, 500, v => Child.Width = v);
AddSliderStep("Height", 50, 650, 500, v => Child.Height = v);
AddStep("Override Size to 1x1", () => Child.Size = Vector2.One);
}
}
}