fix shadowsight timer showing when not in arena or testmode
This commit is contained in:
parent
b73bc33630
commit
79371b72b0
@ -101,7 +101,9 @@ function ShadowsightTimer:UpdateFrameOnce()
|
|||||||
self.timerFrame:SetScale(Gladdy.db.shadowsightTimerScale)
|
self.timerFrame:SetScale(Gladdy.db.shadowsightTimerScale)
|
||||||
self.timerFrame:ClearAllPoints()
|
self.timerFrame:ClearAllPoints()
|
||||||
self.timerFrame:SetPoint(Gladdy.db.shadowsightTimerRelPoint1, nil, Gladdy.db.shadowsightTimerRelPoint2, Gladdy.db.shadowsightTimerX, Gladdy.db.shadowsightTimerY)
|
self.timerFrame:SetPoint(Gladdy.db.shadowsightTimerRelPoint1, nil, Gladdy.db.shadowsightTimerRelPoint2, Gladdy.db.shadowsightTimerX, Gladdy.db.shadowsightTimerY)
|
||||||
self.timerFrame:Show()
|
if Gladdy.frame.testing or Gladdy.curBracket then
|
||||||
|
self.timerFrame:Show()
|
||||||
|
end
|
||||||
else
|
else
|
||||||
self.timerFrame:SetScale(Gladdy.db.shadowsightTimerScale)
|
self.timerFrame:SetScale(Gladdy.db.shadowsightTimerScale)
|
||||||
self.timerFrame:ClearAllPoints()
|
self.timerFrame:ClearAllPoints()
|
||||||
|
Loading…
Reference in New Issue
Block a user