From e9ec7e3f96fb4bcf91a09c7ef68c72a9da9445b1 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 19 Apr 2025 20:12:38 +0300 Subject: [PATCH] small visual fix --- src/graphics/ui/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/ui/GUI.cpp b/src/graphics/ui/GUI.cpp index 4de82509..dc379a68 100644 --- a/src/graphics/ui/GUI.cpp +++ b/src/graphics/ui/GUI.cpp @@ -280,7 +280,7 @@ void GUI::draw(const DrawContext& pctx, const Assets& assets) { auto size = node->getSize(); batch2D->setColor(0, 255, 255); - batch2D->lineRect(parentPos.x, parentPos.y, size.x-1, size.y-1); + batch2D->lineRect(parentPos.x+1, parentPos.y, size.x-2, size.y-1); node = node->getParent(); }