Преглед на файлове

REVIEWED: GuiScrollPanel(), allow configurable border, using LISTVIEW property

Ray преди 1 година
родител
ревизия
6e43ad1d67
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/raygui.h

+ 1 - 1
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);