From 79371b72b075c7fc6af8ce0879d487941aeb2c1b Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Thu, 29 Jul 2021 14:05:37 +0200 Subject: [PATCH] fix shadowsight timer showing when not in arena or testmode --- Modules/ShadowsightTimer.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/ShadowsightTimer.lua b/Modules/ShadowsightTimer.lua index 097d238..1785e4e 100644 --- a/Modules/ShadowsightTimer.lua +++ b/Modules/ShadowsightTimer.lua @@ -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) - self.timerFrame:Show() + if Gladdy.frame.testing or Gladdy.curBracket then + self.timerFrame:Show() + end else self.timerFrame:SetScale(Gladdy.db.shadowsightTimerScale) self.timerFrame:ClearAllPoints()