diff modules/ReAction_Action/ReAction_Action.lua @ 91:c2504a8b996c

Bug fixes - action buttons resetting to 6 pixels - stray prints - config panels for action buttons not showing all panels - fixed multi-ID typo - fixed autocast model on pet buttons
author Flick <flickerstreak@gmail.com>
date Fri, 17 Oct 2008 03:59:55 +0000
parents 7cabc8ac6c16
children 5f1d7a81317c
line wrap: on
line diff
--- a/modules/ReAction_Action/ReAction_Action.lua	Wed Oct 15 16:29:41 2008 +0000
+++ b/modules/ReAction_Action/ReAction_Action.lua	Fri Oct 17 03:59:55 2008 +0000
@@ -58,7 +58,7 @@
   ReAction:RegisterBarType(L["Action Bar"], 
     { 
       type = moduleID,
-      defaultButtonSize = 6,
+      defaultButtonSize = 36,
       defaultBarRows = 1,
       defaultBarCols = 12,
       defaultBarSpacing = 3
@@ -541,7 +541,7 @@
   end
 
   function Handle:SetMultiID(info, value)
-    local p = ParseMultiID(#btns, self.config.nPages or 1, value)
+    local p = ParseMultiID(#self.btns, self.config.nPages or 1, value)
     for page, b in ipairs(p) do
       for button, id in ipairs(b) do
         self.btns[button]:SetActionID(id, page)
@@ -893,7 +893,6 @@
           action = "*action-"..page[state]
         end
         local value = self:GetAttribute(action)
-        print("setting action",value,"page[state]=",page and page[state])
         self:SetAttribute("*action1",value)
       ]])