From 4a1337b770da0df6a17d6b3f78ecbb1d7f4093b3 Mon Sep 17 00:00:00 2001 From: Ahmil Jilani Date: Tue, 15 Nov 2011 14:57:00 -0500 Subject: [PATCH] 2.2.1 --- SuperDuperMacro/SuperDuperMacro.toc | 2 +- SuperDuperMacro/SuperDuperMacro_Interface.lua | 8 +++++++- SuperDuperMacro/sdm Readme.txt | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/SuperDuperMacro/SuperDuperMacro.toc b/SuperDuperMacro/SuperDuperMacro.toc index c7d9217..9189473 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.2 +## Version: 2.2.1 ## SavedVariables: sdm_version, sdm_listFilters, sdm_iconSize, sdm_mainContents, sdm_macros SuperDuperMacro_Core.lua SuperDuperMacro_Interface.lua diff --git a/SuperDuperMacro/SuperDuperMacro_Interface.lua b/SuperDuperMacro/SuperDuperMacro_Interface.lua index c048166..5da5973 100644 --- a/SuperDuperMacro/SuperDuperMacro_Interface.lua +++ b/SuperDuperMacro/SuperDuperMacro_Interface.lua @@ -358,6 +358,12 @@ function sdm_IsAtLeast(one, two, i) --sees if the first mTab is greater than or end end +-- these names aren't really used by the program; they're just there because unnamed frames can sometimes behave strangely +function CreateListItemFrameName() + sdm_numListItemsNamed = (sdm_numListItemsNamed or 0) + 1 + return "sdm_ListButton"..sdm_numListItemsNamed +end + function sdm_UpdateList() if not sdm_mainFrame:IsShown() then return end local f @@ -376,7 +382,7 @@ function sdm_UpdateList() listItem = table.remove(sdm_unusedListItems[isContainer],1) if not listItem then --create the listItem - listItem = CreateFrame("Button", nil, sdm_mainFrame_macrosScroll_macroList) + listItem = CreateFrame("Button", CreateListItemFrameName(), sdm_mainFrame_macrosScroll_macroList) listItem.icon = listItem:CreateTexture(nil, "OVERLAY") listItem.text = listItem:CreateFontString(nil,"ARTWORK","GameFontNormal") listItem.text:SetJustifyH("LEFT") diff --git a/SuperDuperMacro/sdm Readme.txt b/SuperDuperMacro/sdm Readme.txt index 06817b1..c81490d 100644 --- a/SuperDuperMacro/sdm Readme.txt +++ b/SuperDuperMacro/sdm Readme.txt @@ -25,6 +25,10 @@ Special thanks to: Change Log +2.2.1 (11/15/11) +¥ÊFixed a bug where the macro list sometimes became unclickable +¥ÊFixed a bug that sometimes caused buttons to show in the wrong places + 2.2 (11/4/11) ¥ÊUpgraded macros will now appropriately change their icons based on the macro code (unless an icon other than the Question Mark icon was selected). If you upgraded a macro with version 2.1, you will need to manually change the icon to the Question Mark icon. ¥ÊAdded a "Downgrade" button that converts a Super Duper macro into a standard macro -- 1.7.9.5