Skip to content

Commit

Permalink
Scrollbar refresh didn't return the correct instance
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Sep 21, 2021
1 parent 683e924 commit ac0a530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gooey/internal/scrollbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local scrollbars = {}
-- instance functions
local SCROLLBAR = {}
function SCROLLBAR.refresh(scrollbar)
if scrollbar.refresh_fn then scrollbar.refresh_fn(button) end
if scrollbar.refresh_fn then scrollbar.refresh_fn(scrollbar) end
end
function SCROLLBAR.scroll_to(scrollbar, x, y)
assert(scrollbar)
Expand Down

0 comments on commit ac0a530

Please sign in to comment.