changeset 70:bb2baedae81f

debugging tool for the mystery of disappearing quests
author Nenue
date Wed, 05 Apr 2017 12:12:41 -0400
parents 31de7e9e7849
children d6c0bed32c51
files WorldPlan.lua WorldPlan.xml
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/WorldPlan.lua	Wed Apr 05 11:36:06 2017 -0400
+++ b/WorldPlan.lua	Wed Apr 05 12:12:41 2017 -0400
@@ -539,7 +539,11 @@
         WorldPlanSummary:Refresh(true)
       end
     elseif arg1 == 'log' then
-      WorldPlanDebug:SetShown(true)
+      if WorldPlanDebug:IsShown() then
+        WorldPlanDebug:SetShown(false)
+      else
+        WorldPlanDebug:SetShown(true)
+      end
     elseif arg1 == 'debug' then
       if WorldPlanData then
         WorldPlanData.DebugEnabled = (not WorldPlanData.DebugEnabled)
--- a/WorldPlan.xml	Wed Apr 05 11:36:06 2017 -0400
+++ b/WorldPlan.xml	Wed Apr 05 12:12:41 2017 -0400
@@ -175,9 +175,11 @@
   </Frame>
 
   <ScrollingMessageFrame name="WorldPlanDebug" parent="UIParent" mixin="WorldPlanDebugMixin" hidden="true" frameStrata="TOOLTIP">
-    <Size x="700" y="500" />
+    <Size x="700" />
     <Anchors>
       <Anchor point="CENTER" />
+      <Anchor point="TOP" />
+      <Anchor point="BOTTOM" x="0" y="200" />
     </Anchors>
     <Scripts>
       <OnLoad method="OnLoad" />