Moved some code that tied IceStackCounter more tightly to CustomCount than I had wanted into CustomCount itself.

This commit is contained in:
Parnic
2015-08-22 16:53:58 -05:00
parent 8e13a8075d
commit 7249f4ebcd
2 changed files with 1 additions and 2 deletions

View File

@ -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