mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +00:00
skins: make quest timer frame movable
This commit is contained in:
@@ -52,6 +52,12 @@ end)
|
|||||||
pfUI:RegisterSkin("Quest Timer", "vanilla:tbc", function ()
|
pfUI:RegisterSkin("Quest Timer", "vanilla:tbc", function ()
|
||||||
CreateBackdrop(QuestTimerFrame, nil, nil, .75)
|
CreateBackdrop(QuestTimerFrame, nil, nil, .75)
|
||||||
CreateBackdropShadow(QuestTimerFrame)
|
CreateBackdropShadow(QuestTimerFrame)
|
||||||
|
UpdateMovable(QuestTimerFrame, true)
|
||||||
QuestTimerHeader:Hide()
|
QuestTimerHeader:Hide()
|
||||||
|
|
||||||
|
-- UIParent_ManageFramePositions overwrites positions. Ignore those:
|
||||||
|
QuestTimerFrame._SetPoint = QuestTimerFrame.SetPoint
|
||||||
|
QuestTimerFrame.SetPoint = function(self, a, b, c, d, e, f)
|
||||||
|
if b ~= "MinimapCluster" then self:_SetPoint(a,b,c,d,e,f) end
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user