diff TimeManager/TimeManager.xml @ 59:07ef62fe201f

Re-write of BuffFrame module: - uses secure hooks on blizzard BuffFrame.lua functions to determine needed action - make use of built-in table behavior to reduce unnecessary frame updates
author Nenue
date Thu, 28 Jul 2016 18:27:56 -0400
parents dd9b5f59632c
children
line wrap: on
line diff
--- a/TimeManager/TimeManager.xml	Fri Jul 08 18:01:49 2016 -0400
+++ b/TimeManager/TimeManager.xml	Thu Jul 28 18:27:56 2016 -0400
@@ -2,9 +2,10 @@
 ..\FrameXML\UI.xsd">
 
 
-  <Frame name="VeneerClock" parent="UIParent" hidden="false">
+  <Frame name="VeneerClock" parent="UIParent" hidden="false" clampedToScreen="true">
     <Scripts>
       <OnLoad>
+        self.drag = true
         self.toggle = true
         Veneer.RegisterModuleFrame(self, 'Clock')
       </OnLoad>
@@ -34,10 +35,6 @@
         </FontString>
       </Layer>
     </Layers>
-    <Scripts>
-      <OnUpdate>
-      </OnUpdate>
-    </Scripts>
   </Frame>
 
   <Script file="TimeManager.lua" />