Skip to content
Snippets Groups Projects
Commit c95b9562 authored by dg's avatar dg
Browse files

tb_bg is passed to UISet:Minimalist:Toolbar

git-svn-id: http://svn.net-core.org/repos/t-engine4@6438 51575b47-30f0-44d4-a5cc-537603b46e54
parent 43885257
No related branches found
No related tags found
No related merge requests found
......@@ -1858,7 +1858,7 @@ function _M:displayToolbar(scale, bx, by)
x, y = self:toolbarOrientStep(orient, bx, by, scale, x, y, tb_bg[6], tb_bg[7])
-- Any hooks
local hd = {"UISet:Minimalist:Toolbar", x=x, y=y, bx=bx, by=by, orient=orient, scale=scale}
local hd = {"UISet:Minimalist:Toolbar", x=x, y=y, bx=bx, by=by, orient=orient, scale=scale, tb_bg=tb_bg}
if self:triggerHook(hd) then
x, y = hd.x, hd.y
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment