Some raygui controls return 1 instead of 0 when pressed or scrolled.

This commit is contained in:
jussi
2024-07-15 16:03:44 +03:00
parent 6552bd691a
commit f64b17ec71
6 changed files with 153 additions and 174 deletions

View File

@@ -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 },