mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 22:30:13 -05:00
Moved some code that tied IceStackCounter more tightly to CustomCount than I had wanted into CustomCount itself.
This commit is contained in:
@ -99,7 +99,6 @@ function IceStackCounter_GetOptions(frame)
|
||||
v = 5
|
||||
end
|
||||
frame.moduleSettings.maxCount = tonumber(v)
|
||||
frame:CreateCustomFrame(true)
|
||||
frame:Redraw()
|
||||
end,
|
||||
disabled = function()
|
||||
|
@ -183,7 +183,6 @@ function IceCustomCount.prototype:GetOptions()
|
||||
end,
|
||||
set = function(info, v)
|
||||
self.moduleSettings.countMode = info.option.values[v]
|
||||
self:CreateCustomFrame(true)
|
||||
self:Redraw()
|
||||
IceHUD:NotifyOptionsChange()
|
||||
end,
|
||||
@ -289,6 +288,7 @@ function IceCustomCount.prototype:Redraw()
|
||||
IceCustomCount.super.prototype.Redraw(self)
|
||||
|
||||
self:CreateFrame()
|
||||
self:CreateCustomFrame(true)
|
||||
self:UpdateCustomCount()
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user