Quantcast

Added UI button for Blizzard_DebugTools FrameStack

Petr G [06-09-16 - 08:20]
Added UI button for Blizzard_DebugTools FrameStack
Filename
ViragDevTool.xml
diff --git a/ViragDevTool.xml b/ViragDevTool.xml
index 6f7a814..3621e2f 100644
--- a/ViragDevTool.xml
+++ b/ViragDevTool.xml
@@ -411,7 +411,11 @@
                     <Button text="/fstack" name="$parentFrameStack" inherits="ViragDevToolTopButton">
                         <Scripts>
                             <OnClick>
-
+                                self.isActive = not self.isActive
+                                UIParentLoadAddOn("Blizzard_DebugTools");
+                                local showHidden = false; -- todo add this functionality
+                                local showRegions = false;
+                                FrameStackTooltip_Toggle(showHidden, showRegions);
                             </OnClick>
                         </Scripts>
                         <Anchors>