Skip to content

Commit

Permalink
Floors the default offset for target unit frame
Browse files Browse the repository at this point in the history
  • Loading branch information
haggen committed Nov 21, 2015
1 parent d160afd commit 0ff1ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SlightlyImprovedAttributeBars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function SIAB.Initialize(eventCode, addOnName)

-- Initialize the offset to be just above the health bar
if (SIAB.vars.targetReticleOffset == -1) then
SIAB.vars.targetReticleOffset = ZO_PlayerAttributeHealth:GetTop() - 175
SIAB.vars.targetReticleOffset = zo_floor(ZO_PlayerAttributeHealth:GetTop() - 175)
end

-- Save the original offset in case this feature is disabled
Expand Down

0 comments on commit 0ff1ac2

Please sign in to comment.