From f64b17ec71dea4ecae4d19ce75871331909a3881 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 15 Jul 2024 16:03:44 +0300 Subject: Some raygui controls return 1 instead of 0 when pressed or scrolled. --- examples/gui/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/gui/main.lua') diff --git a/examples/gui/main.lua b/examples/gui/main.lua index 06c98bc..1ace3b3 100644 --- a/examples/gui/main.lua +++ b/examples/gui/main.lua @@ -107,7 +107,7 @@ function RL.draw() _, comboBoxActive = RL.GuiComboBox( { 5, 150, 80, 20 }, "One;Two;Three", comboBoxActive ) - result, scrollPanel.scroll, scrollPanel.view = RL.GuiScrollPanel( + _, scrollPanel.scroll, scrollPanel.view = RL.GuiScrollPanel( { 64, 640, 320, 200 }, "Scroll panel", { 0, 0, 640, 400 }, -- cgit v1.2.3