movables: new approach to handle movable frames

This commit is contained in:
shagu
2016-11-17 20:55:07 +01:00
parent 1a0d2d6e4e
commit 92721c57f7
12 changed files with 98 additions and 105 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ pfUI:RegisterModule("player", function ()
pfUI.uf.player:SetWidth(pfUI_config.unitframes.player.width)
pfUI.uf.player:SetHeight(pfUI_config.unitframes.player.height+pfUI_config.unitframes.player.pheight)
pfUI.uf.player:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOM", -75, 125)
pfUI.utils:loadPosition(pfUI.uf.player)
pfUI.utils:UpdateMovable(pfUI.uf.player)
pfUI.uf.player:RegisterForClicks('LeftButtonUp', 'RightButtonUp')
pfUI.uf.player:SetScript("OnClick", function ()
if arg1 == "RightButton" then