From bc2fd8bd0d5fdf0c2468f135fa8a01d5431a25d9 Mon Sep 17 00:00:00 2001 From: InventorXtreme Date: Sun, 21 Apr 2024 21:39:52 -0400 Subject: [PATCH] erm --- window.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/window.go b/window.go index 6cb32aa..9f6d7d9 100644 --- a/window.go +++ b/window.go @@ -92,9 +92,8 @@ func (window RayGuiWindow) IsTouchingRegion(posvec rl.Vector2, rect rl.Rectangle } func (window *RayGuiWindow) Draw() { - rl.DrawRectangle(int32(window.Pos.X), int32(window.Pos.Y)-int32(window.GetBorderRect().Height, int32(window.Size.X), int32(window.GetBorderRect().Height), rl.Gray) + rl.DrawRectangle(int32(window.Pos.X), int32(window.Pos.Y)-int32(window.GetBorderRect().Height), int32(window.Size.X), int32(window.GetBorderRect().Height), rl.Gray) - rl.DrawText(fmt.Sprint(window.AcceptingInput), int32(window.Pos.X-20), int32(window.Pos.Y)-20, 12, rl.Blue) //fmt.Printf("WindowDraw at %i, %i\n", window.X, window.Y) DrawTextureFlipped(&window.Texture.Texture, int32(window.Pos.X), int32(window.Pos.Y))