skins: make quest timer frame movable

This commit is contained in:
shagu
2020-08-27 11:37:38 +02:00
parent 092c8a72a0
commit e32b5982ae
+7 -1
View File
@@ -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)