mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-14 01:10:48 +00:00
movables: new approach to handle movable frames
This commit is contained in:
+1
-2
@@ -15,8 +15,7 @@ pfUI:RegisterModule("target", function ()
|
||||
pfUI.uf.target:SetWidth(pfUI_config.unitframes.target.width)
|
||||
pfUI.uf.target:SetHeight(pfUI_config.unitframes.target.height+pfUI_config.unitframes.target.pheight)
|
||||
pfUI.uf.target:SetPoint("BOTTOMLEFT", UIParent, "BOTTOM", 75, 125)
|
||||
pfUI.utils:loadPosition(pfUI.uf.target)
|
||||
|
||||
pfUI.utils:UpdateMovable(pfUI.uf.target)
|
||||
|
||||
pfUI.uf.target:RegisterForClicks('LeftButtonUp', 'RightButtonUp')
|
||||
pfUI.uf.target:SetScript("OnClick", function ()
|
||||
|
||||
Reference in New Issue
Block a user