mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
fix uiprogressbar assert
This commit is contained in:
@@ -50,10 +50,8 @@ local function onWidgetHoverChange(widget, hovered)
|
||||
end
|
||||
|
||||
local function onWidgetStyleApply(widget, style)
|
||||
if not style or not style.tooltip then return end
|
||||
print(style.tooltip)
|
||||
if not style then return end
|
||||
widget.tooltip = style.tooltip
|
||||
table.dump(style)
|
||||
end
|
||||
|
||||
connect(UIWidget, { onStyleApply = onWidgetStyleApply,
|
||||
|
Reference in New Issue
Block a user