From 2618a8b96c1db308ef8453a5894947da14b54ccb Mon Sep 17 00:00:00 2001 From: Aviana Date: Sun, 23 May 2021 12:00:27 +0200 Subject: [PATCH] TBC - TBC support --- YaHT.lua | 4 ++-- YaHT.toc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/YaHT.lua b/YaHT.lua index aa2e2d1..06edc3b 100644 --- a/YaHT.lua +++ b/YaHT.lua @@ -6,7 +6,7 @@ YaHT = select(2, ...) local L = YaHT.L local ACR = LibStub("AceConfigRegistry-3.0", true) local SML = LibStub:GetLibrary("LibSharedMedia-3.0") -YaHT.version = 2130 +YaHT.version = 2140 local SWING_TIME = 0.65 local AimedDelay = 1 @@ -240,7 +240,7 @@ function YaHT:Load() self.mainFrame.texture = self.mainFrame:CreateTexture("YaHTMainFrameBar", "ARTWORK") - self.mainFrame.border = CreateFrame("Frame", "YaHTMainFrameBorder", self.mainFrame) + self.mainFrame.border = CreateFrame("Frame", "YaHTMainFrameBorder", self.mainFrame, BackdropTemplateMixin and "BackdropTemplate") self.mainFrame.border:SetPoint("CENTER", self.mainFrame, "CENTER") self:ApplySettings() diff --git a/YaHT.toc b/YaHT.toc index 9cea366..34a1796 100644 --- a/YaHT.toc +++ b/YaHT.toc @@ -1,4 +1,4 @@ -## Interface: 11302 +## Interface: 20501 ## Title: YaHT ## Notes: Yet another Hunter Timer. ## Author: Avi