summaryrefslogtreecommitdiff
path: root/examples/gui/main.lua
diff options
context:
space:
mode:
authorjussi2024-07-15 16:03:44 +0300
committerjussi2024-07-15 16:03:44 +0300
commitf64b17ec71dea4ecae4d19ce75871331909a3881 (patch)
tree1655a3a4aaff63d3c3ca8a54a0159afaefbcb70d /examples/gui/main.lua
parent6552bd691ab3c62edc516f78afaef9f0e6084abd (diff)
downloadreilua-enhanced-f64b17ec71dea4ecae4d19ce75871331909a3881.tar.gz
reilua-enhanced-f64b17ec71dea4ecae4d19ce75871331909a3881.tar.bz2
reilua-enhanced-f64b17ec71dea4ecae4d19ce75871331909a3881.zip
Some raygui controls return 1 instead of 0 when pressed or scrolled.
Diffstat (limited to 'examples/gui/main.lua')
-rw-r--r--examples/gui/main.lua2
1 files changed, 1 insertions, 1 deletions
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 },