Clean up and progress on buttons.

This commit is contained in:
2019-03-05 21:42:28 -06:00
parent d346f7c729
commit e19f6be719
5 changed files with 9 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ namespace RecrownedAthenaeum.UI.Modular
/// <summary>
/// Bounds of this module (after factoring in the origin).
/// </summary>
public Rectangle ActualBounds
public Rectangle TrueBounds
{
get
{
@@ -74,7 +74,7 @@ namespace RecrownedAthenaeum.UI.Modular
if (Debugging)
{
rectangleRenderer.Begin();
rectangleRenderer.Draw(ActualBounds.X, ActualBounds.Y, ActualBounds.Width, ActualBounds.Height, Color.Red);
rectangleRenderer.Draw(TrueBounds.X, TrueBounds.Y, TrueBounds.Width, TrueBounds.Height, Color.Red);
rectangleRenderer.End();
}
}