mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +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 ()
|
||||
CreateBackdrop(QuestTimerFrame, nil, nil, .75)
|
||||
CreateBackdropShadow(QuestTimerFrame)
|
||||
|
||||
UpdateMovable(QuestTimerFrame, true)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user