diff options
Diffstat (limited to 'examples/resources/lib/raygui.lua')
| -rw-r--r-- | examples/resources/lib/raygui.lua | 2 |
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 |
