diff options
Diffstat (limited to 'examples/raygui_extensions/main.lua')
| -rw-r--r-- | examples/raygui_extensions/main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/raygui_extensions/main.lua b/examples/raygui_extensions/main.lua index a5d9760..3e9d2f1 100644 --- a/examples/raygui_extensions/main.lua +++ b/examples/raygui_extensions/main.lua @@ -75,7 +75,7 @@ local function addPropertyList() Rect:new( 20, 20, 256, 328 ), "Property List", { -- Callbacks. - grab = function( self ) Gui:set2Top( self ) end, + grab = function( self ) Gui:setToTop( self ) end, }, { -- Styles. properties = { @@ -272,7 +272,7 @@ local function addTreeView() "Tree View", { -- Callbacks. select = function( controls ) selected( controls ) end, - grab = function( self ) Gui:set2Top( self ) end, + grab = function( self ) Gui:setToTop( self ) end, }, { -- Styles. properties = { |
