Fixed numeric custom count not hiding appropriately

The numeric frame needed to be parented to the module's frame so it hides and shows itself along with the module.
This commit is contained in:
Parnic
2016-12-07 23:20:05 -06:00
parent d9bd5e3f36
commit 49f8a6c6b2

View File

@ -324,7 +324,7 @@ end
function IceCustomCount.prototype:CreateCustomFrame(doTextureUpdate)
-- create numeric counts
self.frame.numeric = self:FontFactory(self.moduleSettings.countFontSize, nil, self.frame.numeric)
self.frame.numeric = self:FontFactory(self.moduleSettings.countFontSize, self.frame, self.frame.numeric)
self.frame.numeric:SetWidth(50)
self.frame.numeric:SetJustifyH("CENTER")