diff ObjectiveTracker/Frame.lua @ 36:a487841050be

- attempts to solve the mystery of disappearing objectives
author Nenue
date Sun, 17 Apr 2016 13:00:31 -0400
parents 69d03f8e293e
children e84d645c8ab8
line wrap: on
line diff
--- a/ObjectiveTracker/Frame.lua	Sun Apr 17 11:07:48 2016 -0400
+++ b/ObjectiveTracker/Frame.lua	Sun Apr 17 13:00:31 2016 -0400
@@ -286,6 +286,7 @@
   local print = lprint
   local lineIndex = block.currentLine + 1
   local line = handler:GetLine(block, lineIndex)
+
   line.index = lineIndex
   if template then
     if line.schema ~= template then
@@ -336,7 +337,7 @@
   print('      |cFF0088FFsetting line #'..lineIndex..' for|r', block.info.title, "\n     |cFF0088FFsize:|r", line.height,
     "|cFF0088FFpoint:|r", debug_points, "|cFF0088FFwidget:|r", (line.widget and 'Y' or 'N'))
   block.currentLine = lineIndex
-  block.endPoint = line.statusbg -- edge used for the next block
+  block.endPoint = line -- edge used for the next block
 
   return lineIndex
 end