fix shadowsight timer showing when not in arena or testmode

This commit is contained in:
Sumsebrum 2021-07-29 14:05:37 +02:00
parent b73bc33630
commit 79371b72b0

View File

@ -101,7 +101,9 @@ function ShadowsightTimer:UpdateFrameOnce()
self.timerFrame:SetScale(Gladdy.db.shadowsightTimerScale)
self.timerFrame:ClearAllPoints()
self.timerFrame:SetPoint(Gladdy.db.shadowsightTimerRelPoint1, nil, Gladdy.db.shadowsightTimerRelPoint2, Gladdy.db.shadowsightTimerX, Gladdy.db.shadowsightTimerY)
if Gladdy.frame.testing or Gladdy.curBracket then
self.timerFrame:Show()
end
else
self.timerFrame:SetScale(Gladdy.db.shadowsightTimerScale)
self.timerFrame:ClearAllPoints()