summaryrefslogtreecommitdiff
path: root/examples/raygui_extensions/tree_item.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/raygui_extensions/tree_item.lua')
-rw-r--r--examples/raygui_extensions/tree_item.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/raygui_extensions/tree_item.lua b/examples/raygui_extensions/tree_item.lua
index 1986faf..919eae0 100644
--- a/examples/raygui_extensions/tree_item.lua
+++ b/examples/raygui_extensions/tree_item.lua
@@ -42,7 +42,7 @@ function TreeItem:setOpenIcon()
end
function TreeItem:draw()
- local buttonRect = Rect:new()
+ local buttonRect = Rect:new( 0, 0, 0, 0 )
local hasContainer = 0 < #self.controls
local lineCol = RL.GetColor( RL.GuiGetStyle( RL.DEFAULT, RL.LINE_COLOR ) )