Some raygui controls return 1 instead of 0 when pressed or scrolled.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user