diff ObjectiveTracker/Layout.lua @ 54:ed74c5cabe98

Core - updated comment notes Objectives - force hide blocks when their tracker is hidden Clock - convert clock into its own module - display zone coordinates alongside time
author Nenue
date Wed, 01 Jun 2016 20:48:14 -0400
parents dd1ae565f559
children dd9b5f59632c
line wrap: on
line diff
--- a/ObjectiveTracker/Layout.lua	Fri Apr 29 17:06:48 2016 -0400
+++ b/ObjectiveTracker/Layout.lua	Wed Jun 01 20:48:14 2016 -0400
@@ -439,7 +439,12 @@
   return lineIndex
 end
 
-
+-- Resets blocks to hidden if the tracker framescript gets disrupted
+Default.OnHide = function(self)
+  for i, block in pairs(self.handler.usedBlocks) do
+    block:Hide()
+  end
+end
 
 ----------
 --- Top level methods