From 3891e338eb3b96ea6d75231e25a851944207e2ac Mon Sep 17 00:00:00 2001 From: rawoil Date: Tue, 28 Sep 2021 09:44:46 +0800 Subject: [PATCH] adj a lit bit --- rSkin/modules/DBM.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rSkin/modules/DBM.lua b/rSkin/modules/DBM.lua index 8b4dc86..ce5e502 100644 --- a/rSkin/modules/DBM.lua +++ b/rSkin/modules/DBM.lua @@ -43,19 +43,19 @@ local function ApplyDBMStyle(self) icon1:Hide() icon2:Hide() - -- scale first - frame:SetScale(oUF_SimpleConfig.globalscale) - -- bar local barHeight = self.owner.Options.Height local barWidth = self.owner.Options.Width if self.enlarged then - barHeight = barHeight/2 + barHeight = self.owner.Options.HugeHeight/2 barWidth = self.owner.Options.HugeWidth end tbar:SetSize(barWidth, barHeight) tbar:SetPoint("BOTTOMLEFT", frame, "BOTTOMLEFT", 0, 0) + -- frame + frame:SetScale(oUF_SimpleConfig.globalscale) + -- backdrop local iconOffsetX = 0 if self.enlarged then @@ -136,7 +136,7 @@ local function SkinDBM() local timerX, timerY = (-(barWidth/2)-10+1)*oUF_SimpleConfig.globalscale, Details and 185 or 69 -- normal bar - DBT_AllPersistentOptions["Default"]["DBM"].BarYOffset = 3 + DBT_AllPersistentOptions["Default"]["DBM"].BarYOffset = 4 DBT_AllPersistentOptions["Default"]["DBM"].Height = barheight DBT_AllPersistentOptions["Default"]["DBM"].Width = barWidth DBT_AllPersistentOptions["Default"]["DBM"].ExpandUpwards = true -- 1.7.9.5