From b472287b0ae59c8b58dc8d871bec8cd403b7e4cc Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sat, 5 Feb 2022 20:19:03 +0100 Subject: [PATCH] Update gui_scroll_panel.c --- examples/scroll_panel/gui_scroll_panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/scroll_panel/gui_scroll_panel.c b/examples/scroll_panel/gui_scroll_panel.c index dc4acf8..ebade5f 100644 --- a/examples/scroll_panel/gui_scroll_panel.c +++ b/examples/scroll_panel/gui_scroll_panel.c @@ -66,10 +66,10 @@ int main() DrawText(TextFormat("[%f, %f]", panelScroll.x, panelScroll.y), 4, 4, 20, RED); - Rectangle view = GuiScrollPanel(panelRec, "", panelContentRec, &panelScroll); + Rectangle view = GuiScrollPanel(panelRec, NULL, panelContentRec, &panelScroll); BeginScissorMode(view.x, view.y, view.width, view.height); - GuiGrid((Rectangle){panelRec.x + panelScroll.x, panelRec.y + panelScroll.y, panelContentRec.width, panelContentRec.height}, 16, 3); + GuiGrid((Rectangle){panelRec.x + panelScroll.x, panelRec.y + panelScroll.y, panelContentRec.width, panelContentRec.height}, NULL, 16, 3); EndScissorMode(); if (showContentArea) DrawRectangle(panelRec.x + panelScroll.x, panelRec.y + panelScroll.y, panelContentRec.width, panelContentRec.height, Fade(RED, 0.1));