Commit af18112f authored by Simpy's avatar Simpy 🐹

Revert "use the variable vals for height in heal pred, might fix an issue when...

Revert "use the variable vals for height in heal pred, might fix an issue when -1 doesnt work -- need to test!!"

This reverts commit cd659068.
parent 82b795f8
...@@ -126,7 +126,10 @@ function UF:Configure_HealComm(frame) ...@@ -126,7 +126,10 @@ function UF:Configure_HealComm(frame)
absorbBar:SetOrientation(orientation) absorbBar:SetOrientation(orientation)
healAbsorbBar:SetOrientation(orientation) healAbsorbBar:SetOrientation(orientation)
local width, height = health.WIDTH, health.HEIGHT local width, height = health:GetSize()
if not width or width <= 0 then width = health.WIDTH end
if not height or height <= 0 then height = health.HEIGHT end
if orientation == 'HORIZONTAL' then if orientation == 'HORIZONTAL' then
local p1 = reverseFill and 'RIGHT' or 'LEFT' local p1 = reverseFill and 'RIGHT' or 'LEFT'
local p2 = reverseFill and 'LEFT' or 'RIGHT' local p2 = reverseFill and 'LEFT' or 'RIGHT'
......
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