diff options
Diffstat (limited to 'examples/raygui_extensions')
| -rw-r--r-- | examples/raygui_extensions/main.lua | 4 | ||||
| -rw-r--r-- | examples/raygui_extensions/property_list.lua | 2 |
2 files changed, 3 insertions, 3 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 = { diff --git a/examples/raygui_extensions/property_list.lua b/examples/raygui_extensions/property_list.lua index 1a8c30f..266852e 100644 --- a/examples/raygui_extensions/property_list.lua +++ b/examples/raygui_extensions/property_list.lua @@ -87,7 +87,7 @@ function PropertyList:updateControl( control ) control.text = setGroupText( control.text:sub( 6 ), control.active ) -- Sub skips icon. end - self.gui:set2Back( control ) + self.gui:setToBack( control ) end function PropertyList:updateContent() |
