diff ObjectiveUI.lua @ 12:8238cddaddb1

ObjectiveUI - fillers for 'Hidden' objective widgets
author Nenue
date Sat, 02 Apr 2016 05:01:54 -0400
parents f03c75f63566
children 9455693fc290
line wrap: on
line diff
--- a/ObjectiveUI.lua	Sat Apr 02 03:23:12 2016 -0400
+++ b/ObjectiveUI.lua	Sat Apr 02 05:01:54 2016 -0400
@@ -383,4 +383,12 @@
     self.fg:Show()
     self.fg:SetWidth((self.bg:GetWidth()-4) * (quantity / requiredQuantity))
   end
+end
+
+
+mod.InitializeWidget.Hidden = function (self)
+  self.height = 0
+end
+mod.UpdateWidget.Hidden = function (self)
+  self.height=  0
 end
\ No newline at end of file