From dd1cc861bd89f6db4b53fe32127e905d14bab3f2 Mon Sep 17 00:00:00 2001 From: Ahmil Jilani Date: Sat, 17 Dec 2011 11:12:00 -0500 Subject: [PATCH] 2.4.4 --- SuperDuperMacro/SuperDuperMacro.toc | 2 +- SuperDuperMacro/SuperDuperMacro_Frames.lua | 15 ++++++++++----- SuperDuperMacro/sdm Readme.txt | 5 ++++- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/SuperDuperMacro/SuperDuperMacro.toc b/SuperDuperMacro/SuperDuperMacro.toc index db9b10e..5903e22 100644 --- a/SuperDuperMacro/SuperDuperMacro.toc +++ b/SuperDuperMacro/SuperDuperMacro.toc @@ -2,7 +2,7 @@ ## Title : Super Duper Macro ## Notes: Enables creation of incredibly long macros. ## Author: hypehuman -## Version: 2.4.3 +## Version: 2.4.4 ## SavedVariables: sdm_version, sdm_listFilters, sdm_iconSize, sdm_mainContents, sdm_macros SuperDuperMacro_Core.lua SuperDuperMacro_Interface.lua diff --git a/SuperDuperMacro/SuperDuperMacro_Frames.lua b/SuperDuperMacro/SuperDuperMacro_Frames.lua index f4b84e9..36acbf5 100644 --- a/SuperDuperMacro/SuperDuperMacro_Frames.lua +++ b/SuperDuperMacro/SuperDuperMacro_Frames.lua @@ -12,7 +12,7 @@ f:ClearAllPoints() f:SetPoint("TOPLEFT", 0, -104) sdm_MakeDraggable(f) f:SetScript("OnShow", function(self) - PlaySound "igCharacterInfoOpen" + PlaySound "igCharacterInfoOpen" sdm_UpdateList() end) f:SetScript("OnHide", function(self) @@ -69,10 +69,14 @@ f = CreateFrame("Button", "sdm_quitButton", sdm_mainFrame, "UIPanelCloseButton") f:SetPoint("TOPRIGHT", 3, -8) f:SetScript("OnClick", function() sdm_Quit() end) +local linkButtonXOffs = 296 +local linkButtonYOffs = -29 +local linkButtonSize = 50 + f = CreateFrame("Button", "sdm_linkToMacroFrame", sdm_mainFrame, "UIPanelCloseButton") -f:SetWidth(50) -f:SetHeight(50) -f:SetPoint("TOPLEFT", 296, -29) +f:SetWidth(linkButtonSize) +f:SetHeight(linkButtonSize) +f:SetPoint("TOPLEFT", linkButtonXOffs, linkButtonYOffs) f:SetScript("OnClick", function() sdm_Quit(" ShowMacroFrame()") end) t = f:CreateTexture() t:SetDrawLayer("OVERLAY", 7) @@ -703,7 +707,8 @@ f:Disable() function sdm_CreateDefaultMacroFrameButtons() --Create the button that links from the default macro frame to the SDM frame f = CreateFrame("Button", "$parent_linkToSDM", MacroFrame, "UIPanelCloseButton") - f:SetAllPoints(sdm_linkToMacroFrame) + f:SetWidth(linkButtonSize) + f:SetHeight(linkButtonSize) f:SetPoint("TOPLEFT", linkButtonXOffs, linkButtonYOffs) f:SetScript("OnClick", function() HideUIPanel(MacroFrame) sdm_mainFrame:Show() diff --git a/SuperDuperMacro/sdm Readme.txt b/SuperDuperMacro/sdm Readme.txt index 1364d7d..8250639 100644 --- a/SuperDuperMacro/sdm Readme.txt +++ b/SuperDuperMacro/sdm Readme.txt @@ -1,5 +1,5 @@ Super Duper Macro -version 2.4.3 +version 2.4.4 by hypehuman Check for updates at http://www.wowinterface.com/downloads/info10496 @@ -23,6 +23,9 @@ Special thanks to: Change Log +2.4.4 (12/17/11) +¥ÊFixed a bug where the button on the macro frame that opens SDM would sometimes appear in the wrong place. + 2.4.3 (11/30/11) ¥ÊRe-enabled the text that shows how many more button macros you can create -- 1.7.9.5