Commit a7124eed authored by Simpy's avatar Simpy 🐹
Browse files

we should scale both values not just the spacing

parent c65f1e3e
...@@ -65,7 +65,7 @@ function UF:Configure_ClassBar(frame) ...@@ -65,7 +65,7 @@ function UF:Configure_ClassBar(frame)
end end
local SCALED_SPACING = E:Scale(SIDE_SPACING) local SCALED_SPACING = E:Scale(SIDE_SPACING)
bars:SetSize(CLASSBAR_WIDTH - SCALED_SPACING, frame.CLASSBAR_HEIGHT) bars:SetSize(E:Scale(CLASSBAR_WIDTH) - SCALED_SPACING, E:Scale(frame.CLASSBAR_HEIGHT))
if frame.ClassBar == 'ClassPower' or frame.ClassBar == 'Runes' then if frame.ClassBar == 'ClassPower' or frame.ClassBar == 'Runes' then
if E.myclass == 'DEATHKNIGHT' and frame.ClassBar == 'Runes' then if E.myclass == 'DEATHKNIGHT' and frame.ClassBar == 'Runes' then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment