summaryrefslogtreecommitdiff
path: root/examples/resources/lib/raygui.lua
diff options
context:
space:
mode:
authorjussi2024-08-05 23:35:57 +0300
committerjussi2024-08-05 23:35:57 +0300
commitb011b2ca4e161fea2a742cb9b1673cd84cf0eba5 (patch)
treee8a46e45013cc0c2ad27a9f045349ae790cd0a07 /examples/resources/lib/raygui.lua
parentc6eb85b3674c36cfc426486d866a78dfc5452ae0 (diff)
downloadreilua-enhanced-b011b2ca4e161fea2a742cb9b1673cd84cf0eba5.tar.gz
reilua-enhanced-b011b2ca4e161fea2a742cb9b1673cd84cf0eba5.tar.bz2
reilua-enhanced-b011b2ca4e161fea2a742cb9b1673cd84cf0eba5.zip
GetRayBoxCells fix.
Diffstat (limited to 'examples/resources/lib/raygui.lua')
-rw-r--r--examples/resources/lib/raygui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/resources/lib/raygui.lua b/examples/resources/lib/raygui.lua
index 3caba0d..984b1ee 100644
--- a/examples/resources/lib/raygui.lua
+++ b/examples/resources/lib/raygui.lua
@@ -1729,7 +1729,7 @@ function Raygui:update()
for i = #self.controls, 1, -1 do
local control = self.controls[i]
- if control.visible and control.update ~= nil and self:inView( control ) then
+ if control.visible and not control.noUpdate and control.update ~= nil and self:inView( control ) then
if control:update() then
self.focused = i