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:
Mason11987
2018-02-07 22:01:37 +10:00
committed by Dylan Wilson
parent fa3ec93ae2
commit 596d0b865c
@@ -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);