Skip to content

Commit

Permalink
Add check for config in dummyHandle (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukendio authored Dec 20, 2023
1 parent aa9c655 commit 91a8482
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/debugger/hookWidgets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ local dummyHandles = {
},

slider = function(config)
return config.initial or 0
if type(config) == "table" then
config = config.initial
end
return config
end,

window = {
Expand Down

0 comments on commit 91a8482

Please sign in to comment.