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

@@ -245,7 +245,8 @@ function RL.init()
"Cat;Dog;Horse;Cow;Dog;Horse;Cow",
0,
{ -- Callbacks.
close = closeTab
close = closeTab,
select = function( self ) print( self:getItem( self.active ) ) end
}
)
local scrollpanel = Gui:ScrollPanel(