We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d4182 commit 1693194Copy full SHA for 1693194
1 file changed
src/button.c
@@ -65,6 +65,6 @@ void UpdateButton(Button *button)
65
void DrawButton(Button *button)
66
{
67
// DrawTextureRec(button->texture, button->rect, (Vector2){button->position.x, button->position.y}, WHITE);
68
- DrawRectangle(button->position.x, button->position.y, button->rect.x, button->rect.y, LIGHTGRAY);
+ DrawRectangle(button->position.x, button->position.y, button->rect.x, button->frameHeight, LIGHTGRAY);
69
DrawText(button->text, button->position.x + 40, button->position.y + 10, 40, BLACK);
70
}
0 commit comments