mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- re-fixed cascading buffs when "buffs per row" was used for the TargetInfo module
This commit is contained in:
@ -665,6 +665,12 @@ function TargetInfo.prototype:CreateIconFrames(parent, direction, buffs, type)
|
||||
buffSize = self.moduleSettings.ownBuffSize
|
||||
end
|
||||
|
||||
local pos = i % self.moduleSettings.perRow
|
||||
if pos == 1 or self.moduleSettings.perRow == 1 then
|
||||
lastX = 0
|
||||
lastBuffSize = 0
|
||||
end
|
||||
|
||||
local x = lastX + lastBuffSize
|
||||
lastX = x
|
||||
lastBuffSize = (buffSize * direction)
|
||||
|
Reference in New Issue
Block a user