From 6e43ad1d6700ed83982bd235896fbc97a4fb65c8 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 14 Jan 2024 17:41:15 +0100 Subject: [PATCH] REVIEWED: GuiScrollPanel(), allow configurable border, using LISTVIEW property --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index 844fc14..8074582 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -1923,7 +1923,7 @@ int GuiScrollPanel(Rectangle bounds, const char *text, Rectangle content, Vector } // Draw scrollbar lines depending on current state - GuiDrawRectangle(bounds, GuiGetStyle(DEFAULT, BORDER_WIDTH), GetColor(GuiGetStyle(LISTVIEW, BORDER + (state*3))), BLANK); + GuiDrawRectangle(bounds, GuiGetStyle(LISTVIEW, BORDER_WIDTH), GetColor(GuiGetStyle(LISTVIEW, BORDER + (state*3))), BLANK); // Set scrollbar slider size back to the way it was before GuiSetStyle(SCROLLBAR, SCROLL_SLIDER_SIZE, slider);