mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user