adj a lit bit
rawoil [09-28-21 - 01:44]
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