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
|
end
|
||||||
button:setId(id)
|
button:setId(id)
|
||||||
button:setTooltip(description)
|
button:setTooltip(description)
|
||||||
button:setIcon(icon, 3)
|
button:setIcon(resolvepath(icon, 3))
|
||||||
button.onMouseRelease = function(widget, mousePos, mouseButton)
|
button.onMouseRelease = function(widget, mousePos, mouseButton)
|
||||||
if widget:containsPoint(mousePos) and mouseButton ~= MouseMiddleButton then
|
if widget:containsPoint(mousePos) and mouseButton ~= MouseMiddleButton then
|
||||||
callback()
|
callback()
|
||||||
|
|
Loading…
Reference in New Issue