mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
Fix minor mistake in client topmenu
This commit is contained in:
parent
4f6c987d77
commit
36e95b2f48
@ -22,7 +22,7 @@ local function addButton(id, description, icon, callback, panel, toggle, front)
|
||||
end
|
||||
button:setId(id)
|
||||
button:setTooltip(description)
|
||||
button:setIcon(icon, 3)
|
||||
button:setIcon(resolvepath(icon, 3))
|
||||
button.onMouseRelease = function(widget, mousePos, mouseButton)
|
||||
if widget:containsPoint(mousePos) and mouseButton ~= MouseMiddleButton then
|
||||
callback()
|
||||
|
Loading…
x
Reference in New Issue
Block a user