Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #466 from VideoPlayerCode/master
Browse files Browse the repository at this point in the history
Bugfix: Send correct parameters to CreateMover
  • Loading branch information
Apollyonn authored May 20, 2019
2 parents 1e2ac31 + fb43f53 commit 533587b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ElvUI/core/movers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,9 @@ end

--Called from core.lua
function E:LoadMovers()
for n, t in pairs(E.CreatedMovers) do
CreateMover(t.parent, n, t.overlay, t.snapoffset, t.postdrag, t.shouldDisable, t.configString)
for name, t in pairs(E.CreatedMovers) do
--All of these properties are cached in E.CreatedMovers by "E:CreateMover()",
--so that we can reproduce the function calls identically here.
CreateMover(t.parent, name, t.text, t.overlay, t.snapoffset, t.postdrag, t.shouldDisable, t.configString)
end
end

0 comments on commit 533587b

Please sign in to comment.