comparison 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
comparison
equal deleted inserted replaced
53:5cedcb683eda 54:ed74c5cabe98
437 block.endPoint = line -- edge used for the next block 437 block.endPoint = line -- edge used for the next block
438 438
439 return lineIndex 439 return lineIndex
440 end 440 end
441 441
442 442 -- Resets blocks to hidden if the tracker framescript gets disrupted
443 Default.OnHide = function(self)
444 for i, block in pairs(self.handler.usedBlocks) do
445 block:Hide()
446 end
447 end
443 448
444 ---------- 449 ----------
445 --- Top level methods 450 --- Top level methods
446 451
447 452