mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-25 08:22:15 +00:00
Screen Desktop defaulted to being width of 1, and height of 1, instead of width of 100%, and height of 100% (#462)
This commit is contained in:
@@ -75,7 +75,7 @@ namespace MonoGame.Extended.NuclexGui
|
||||
// By default, the desktop control will cover the whole drawing area
|
||||
_desktopControl = new GuiDesktopControl
|
||||
{
|
||||
Bounds = new UniRectangle(new UniVector(0, 0), new UniVector(1, 1))
|
||||
Bounds = new UniRectangle(new UniVector(0, 0), new UniVector(new UniScalar(1, 0), new UniScalar(1, 0)))
|
||||
};
|
||||
|
||||
_desktopControl.SetScreen(this);
|
||||
|
||||
Reference in New Issue
Block a user