diff WorldPlan.xml @ 60:3d8e83ddf603

- hide text regions directly when their associated pin has been removed from the map
author Nick@Zahhak
date Wed, 08 Feb 2017 05:58:56 -0500
parents 0749e38081e7
children abcdef801db5
line wrap: on
line diff
--- a/WorldPlan.xml	Wed Feb 01 17:44:20 2017 -0500
+++ b/WorldPlan.xml	Wed Feb 08 05:58:56 2017 -0500
@@ -126,6 +126,20 @@
     </Scripts>
     <Frames>
       <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true" hidden="true">
+        <!--
+        <Scripts>
+          <OnShow>
+            local out = debugstack(3,3,1)
+            out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
+            print('POI', self:GetName().. ':OnShow()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
+          </OnShow>
+          <OnHide>
+            local out = debugstack(3,3,1)
+            out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
+            print('POI', self:GetName().. ':OnHide()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
+          </OnHide>
+        </Scripts>
+        -->
         <Layers>
           <Layer level="OVERLAY">
             <FontString inherits="WorldPlanNumberFontThin" parentKey="count">