From 707ebd74ff14c6f02a39c8232b86ea3a94e8b97b Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 7 Jul 2012 19:02:09 +0400 Subject: [PATCH] The rest of the alternative microbar All layouts Tooltips All options must be functional --- ElvUI_SLE/locales/english.lua | 4 + ElvUI_SLE/locales/russian.lua | 4 + ElvUI_SLE/modules/microbar/microbar.lua | 215 ++++++++++++++++++++++++++++++- ElvUI_SLE/modules/microbar/options.lua | 6 +- 4 files changed, 219 insertions(+), 10 deletions(-) diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua index 2b52797..49f581b 100644 --- a/ElvUI_SLE/locales/english.lua +++ b/ElvUI_SLE/locales/english.lua @@ -20,6 +20,7 @@ L["Additional menu with useful buttons"] = "Additional menu with useful buttons" L["Additional unit frames options"] = "Additional unit frames options" L["AddOns Manager"] = "AddOns Manager" L["Amount of messages to save. Set to 0 to disable."] = "Amount of messages to save. Set to 0 to disable." +L["As Letters"] = "As Letters" L["Aura Size"] = "Aura Size" L["Automatically release body when killed inside a battleground."] = "Automatically release body when killed inside a battleground." L["Backgrounds"] = "Backgrounds" @@ -115,6 +116,9 @@ L["Raid Utility"] = "Raid Utility" L["Raid Utility Coordinates"] = "Raid Utility Coordinates" L["Reaction Name"] = "Reaction Name" L["Reload UI"] = "Reload UI" +L[ [=[Replace icons with just letters. +|cffFF0000Warning:|r this will disable original Blizzard's tooltips for microbar.]=] ] = [=[Replace icons with just letters. +|cffFF0000Warning:|r this will disable original Blizzard's tooltips for microbar.]=] L["Repooc's Config"] = "Repooc's Config" L["Repooc's Defaults Set"] = "Repooc's Defaults Set" L["Rested Value"] = "Rested Value" diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua index 3e045c2..8097a0f 100644 --- a/ElvUI_SLE/locales/russian.lua +++ b/ElvUI_SLE/locales/russian.lua @@ -14,6 +14,7 @@ L["Additional menu with useful buttons"] = "Дополнительное мен L["Additional unit frames options"] = "Дополнительные опции рамок юнитов" L["AddOns Manager"] = "Менеджер аддонов" L["Amount of messages to save. Set to 0 to disable."] = "Количество сообщений, введенных вами, которое будет сохранено между сеансами" +L["As Letters"] = "В виде букв" L["Aura Size"] = "Размер баффов" L["Automatically release body when killed inside a battleground."] = "Автоматически выходить из тела на полях боя." L["Backgrounds"] = "Фоновые фреймы" @@ -109,6 +110,9 @@ L["Raid Utility"] = "Управление рейдом" L["Raid Utility Coordinates"] = "Позиция Управления Рейдом" L["Reaction Name"] = "Реакция" L["Reload UI"] = "Перезагрузить интерфейс" +L[ [=[Replace icons with just letters. +|cffFF0000Warning:|r this will disable original Blizzard's tooltips for microbar.]=] ] = [=[Заменяет иконки на латинские буквы. +|cffFF0000Внимание:|r это действие отключит стандартные подсказки Blizzard для микроменю.]=] L["Repooc's Config"] = "Опции Repooc'а" L["Repooc's Defaults Set"] = "Установлены настройки Repooc'а" L["Rested Value"] = "Бодрость" diff --git a/ElvUI_SLE/modules/microbar/microbar.lua b/ElvUI_SLE/modules/microbar/microbar.lua index 88f6977..9a9277c 100644 --- a/ElvUI_SLE/modules/microbar/microbar.lua +++ b/ElvUI_SLE/modules/microbar/microbar.lua @@ -225,21 +225,31 @@ end --Set Scale function MB:Scale() microbar:SetScale(E.db.microbar.scale) + microbarS:SetScale(E.db.microbar.scale) end --Show/Hide in combat function MB:EnterCombat() if E.db.microbar.combat then microbar:Hide() + microbarS:Hide() else - microbar:Show() + if E.db.microbar.symbolic then + microbarS:Show() + else + microbar:Show() + end end end --Show after leaving combat function MB:LeaveCombat() if E.db.microbar.enable then - microbar:Show() + if E.db.microbar.symbolic then + microbarS:Show() + else + microbar:Show() + end end end @@ -265,7 +275,7 @@ function MB:MicroButtonsPositioning() MenuB:SetPoint("TOPLEFT", EJB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) HelpB:SetPoint("TOPLEFT", MenuB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) --Symbolic - CharBS:SetPoint("BOTTOMLEFT", microbarS, "BOTTOMLEFT", 5, 3) + CharBS:SetPoint("CENTER", CharB, "CENTER", 0, -14) SpellBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) TalentBS:SetPoint("TOPLEFT", SpellBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) AchievBS:SetPoint("TOPLEFT", TalentBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) @@ -290,6 +300,19 @@ function MB:MicroButtonsPositioning() EJB:SetPoint("TOPLEFT", RaidB, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) MenuB:SetPoint("TOPLEFT", EJB, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) HelpB:SetPoint("TOPLEFT", MenuB, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + --Symbolic + CharBS:SetPoint("CENTER", CharB, "CENTER", 0, -14) + SpellBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + TalentBS:SetPoint("TOPLEFT", SpellBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + AchievBS:SetPoint("TOPLEFT", TalentBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + QuestBS:SetPoint("TOPLEFT", AchievBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + GuildBS:SetPoint("TOPLEFT", QuestBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + PVPBS:SetPoint("TOPLEFT", GuildBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + LFDBS:SetPoint("TOPLEFT", PVPBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + RaidBS:SetPoint("TOPLEFT", LFDBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + EJBS:SetPoint("TOPLEFT", RaidBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + MenuBS:SetPoint("TOPLEFT", EJBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + HelpBS:SetPoint("TOPLEFT", MenuBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) elseif E.db.microbar.layout == "Micro_26" then --2 in a row CharB:SetPoint("TOPLEFT", microbar, "TOPLEFT", 1, 21) SpellB:SetPoint("TOPLEFT", CharB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) @@ -303,6 +326,19 @@ function MB:MicroButtonsPositioning() EJB:SetPoint("TOPLEFT", RaidB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) MenuB:SetPoint("TOPLEFT", RaidB, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) HelpB:SetPoint("TOPLEFT", MenuB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + --Symbolic + CharBS:SetPoint("CENTER", CharB, "CENTER", 0, -14) + SpellBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + TalentBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + AchievBS:SetPoint("TOPLEFT", TalentBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + QuestBS:SetPoint("TOPLEFT", TalentBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + GuildBS:SetPoint("TOPLEFT", QuestBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + PVPBS:SetPoint("TOPLEFT", QuestBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + LFDBS:SetPoint("TOPLEFT", PVPBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + RaidBS:SetPoint("TOPLEFT", PVPBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + EJBS:SetPoint("TOPLEFT", RaidBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + MenuBS:SetPoint("TOPLEFT", RaidBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + HelpBS:SetPoint("TOPLEFT", MenuBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) elseif E.db.microbar.layout == "Micro_34" then --3 in a row CharB:SetPoint("TOPLEFT", microbar, "TOPLEFT", 1, 20) SpellB:SetPoint("TOPLEFT", CharB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) @@ -316,6 +352,19 @@ function MB:MicroButtonsPositioning() EJB:SetPoint("TOPLEFT", PVPB, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) MenuB:SetPoint("TOPLEFT", EJB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) HelpB:SetPoint("TOPLEFT", MenuB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + --Symbolic + CharBS:SetPoint("CENTER", CharB, "CENTER", 0, -14) + SpellBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + TalentBS:SetPoint("TOPLEFT", SpellBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + AchievBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + QuestBS:SetPoint("TOPLEFT", AchievBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + GuildBS:SetPoint("TOPLEFT", QuestBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + PVPBS:SetPoint("TOPLEFT", AchievBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + LFDBS:SetPoint("TOPLEFT", PVPBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + RaidBS:SetPoint("TOPLEFT", LFDBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + EJBS:SetPoint("TOPLEFT", PVPBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + MenuBS:SetPoint("TOPLEFT", EJBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + HelpBS:SetPoint("TOPLEFT", MenuBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) elseif E.db.microbar.layout == "Micro_43" then --4 in a row CharB:SetPoint("TOPLEFT", microbar, "TOPLEFT", 1, 20) SpellB:SetPoint("TOPLEFT", CharB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) @@ -329,6 +378,19 @@ function MB:MicroButtonsPositioning() EJB:SetPoint("TOPLEFT", RaidB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) MenuB:SetPoint("TOPLEFT", EJB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) HelpB:SetPoint("TOPLEFT", MenuB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + --Symbolic + CharBS:SetPoint("CENTER", CharB, "CENTER", 0, -14) + SpellBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + TalentBS:SetPoint("TOPLEFT", SpellBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + AchievBS:SetPoint("TOPLEFT", TalentBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + QuestBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + GuildBS:SetPoint("TOPLEFT", QuestBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + PVPBS:SetPoint("TOPLEFT", GuildBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + LFDBS:SetPoint("TOPLEFT", PVPBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + RaidBS:SetPoint("TOPLEFT", QuestBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + EJBS:SetPoint("TOPLEFT", RaidBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + MenuBS:SetPoint("TOPLEFT", EJBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + HelpBS:SetPoint("TOPLEFT", MenuBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) elseif E.db.microbar.layout == "Micro_62" then --6 in a row CharB:SetPoint("TOPLEFT", microbar, "TOPLEFT", 0, 21) SpellB:SetPoint("TOPLEFT", CharB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) @@ -342,6 +404,19 @@ function MB:MicroButtonsPositioning() EJB:SetPoint("TOPLEFT", RaidB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) MenuB:SetPoint("TOPLEFT", EJB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) HelpB:SetPoint("TOPLEFT", MenuB, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + --Symbolic + CharBS:SetPoint("CENTER", CharB, "CENTER", 0, -14) + SpellBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + TalentBS:SetPoint("TOPLEFT", SpellBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + AchievBS:SetPoint("TOPLEFT", TalentBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + QuestBS:SetPoint("TOPLEFT", AchievBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + GuildBS:SetPoint("TOPLEFT", QuestBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + PVPBS:SetPoint("TOPLEFT", CharBS, "TOPLEFT", 0, -33 - E.db.microbar.yoffset) + LFDBS:SetPoint("TOPLEFT", PVPBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + RaidBS:SetPoint("TOPLEFT", LFDBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + EJBS:SetPoint("TOPLEFT", RaidBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + MenuBS:SetPoint("TOPLEFT", EJBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) + HelpBS:SetPoint("TOPLEFT", MenuBS, "TOPLEFT", 25 + E.db.microbar.xoffset, 0) end end @@ -406,15 +481,21 @@ end --For recreate after portals and so on function MB:MenuShow() -if E.db.microbar.symbolic then + if E.db.microbar.symbolic then microbarS:Show() else microbarS:Hide() end - if E.db.microbar.enable and not E.db.microbar.symbolic then - microbar:Show() + if E.db.microbar.enable then + if E.db.microbar.symbolic then + microbarS:Show() + microbar:Hide() + else + microbar:Show() + end else microbar:Hide() + microbarS:Hide() end MB:ButtonsSetup(); @@ -448,7 +529,7 @@ function MB:SymbolsCreateFrame() MB:SymbolsCreateButtons() end -function MB:SymbolsCreateButtons() +function MB:SymbolsCreateButtons() --Creating and setting properties to second bar --Character CharBS:Size(20, 28) CharBS:CreateBackdrop() @@ -466,6 +547,16 @@ function MB:SymbolsCreateButtons() end end) + CharBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(CharBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(CHARACTER_BUTTON) + GameTooltip:Show() + end) + + CharBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --Spellbook SpellBS:Size(20, 28) SpellBS:CreateBackdrop() @@ -483,6 +574,16 @@ function MB:SymbolsCreateButtons() end end) + SpellBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(SpellBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(SPELLBOOK_ABILITIES_BUTTON) + GameTooltip:Show() + end) + + SpellBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --Talents TalentBS:Size(20, 28) TalentBS:CreateBackdrop() @@ -508,6 +609,16 @@ function MB:SymbolsCreateButtons() end end) + TalentBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(TalentBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(TALENTS_BUTTON) + GameTooltip:Show() + end) + + TalentBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --Achievements AchievBS:Size(20, 28) AchievBS:CreateBackdrop() @@ -521,6 +632,16 @@ function MB:SymbolsCreateButtons() ToggleAchievementFrame() end) + AchievBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(AchievBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(ACHIEVEMENT_BUTTON) + GameTooltip:Show() + end) + + AchievBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --Quests QuestBS:Size(20, 28) QuestBS:CreateBackdrop() @@ -538,6 +659,16 @@ function MB:SymbolsCreateButtons() end end) + QuestBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(QuestBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(QUESTLOG_BUTTON) + GameTooltip:Show() + end) + + QuestBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --Guild GuildBS:Size(20, 28) GuildBS:CreateBackdrop() @@ -561,6 +692,16 @@ function MB:SymbolsCreateButtons() end end) + GuildBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(GuildBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(GUILD) + GameTooltip:Show() + end) + + GuildBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --PvP PVPBS:Size(20, 28) PVPBS:CreateBackdrop() @@ -580,6 +721,16 @@ function MB:SymbolsCreateButtons() end end) + PVPBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(PVPBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(PVP_OPTIONS) + GameTooltip:Show() + end) + + PVPBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --LFD LFDBS:Size(20, 28) LFDBS:CreateBackdrop() @@ -593,6 +744,16 @@ function MB:SymbolsCreateButtons() ToggleFrame(LFDParentFrame) end) + LFDBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(LFDBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(DUNGEONS_BUTTON) + GameTooltip:Show() + end) + + LFDBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --LFR RaidBS:Size(20, 28) RaidBS:CreateBackdrop() @@ -606,6 +767,16 @@ function MB:SymbolsCreateButtons() ToggleFrame(RaidParentFrame) end) + RaidBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(RaidBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(RAID_FINDER) + GameTooltip:Show() + end) + + RaidBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --Journal EJBS:Size(20, 28) EJBS:CreateBackdrop() @@ -629,6 +800,16 @@ function MB:SymbolsCreateButtons() end end) + EJBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(EJBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(ENCOUNTER_JOURNAL) + GameTooltip:Show() + end) + + EJBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --Menu MenuBS:Size(20, 28) MenuBS:CreateBackdrop() @@ -646,6 +827,16 @@ function MB:SymbolsCreateButtons() end end) + MenuBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(MenuBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(MAINMENU_BUTTON) + GameTooltip:Show() + end) + + MenuBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) + --Help HelpBS:Size(20, 28) HelpBS:CreateBackdrop() @@ -658,6 +849,16 @@ function MB:SymbolsCreateButtons() HelpBS:SetScript("OnClick", function(self) ToggleHelpFrame() end) + + HelpBS:SetScript("OnEnter", function(self) + GameTooltip:SetOwner(HelpBS, "ANCHOR_RIGHT", 0, 29) + GameTooltip:SetText(HELP_BUTTON) + GameTooltip:Show() + end) + + HelpBS:SetScript("OnLeave", function(self) + GameTooltip:Hide() + end) end diff --git a/ElvUI_SLE/modules/microbar/options.lua b/ElvUI_SLE/modules/microbar/options.lua index 0f1302b..f245a6f 100644 --- a/ElvUI_SLE/modules/microbar/options.lua +++ b/ElvUI_SLE/modules/microbar/options.lua @@ -23,8 +23,8 @@ E.Options.args.sle.args.microbar = { symbolic = { order = 3, type = 'toggle', - name = L['Symbolic style'], - desc = L['Replace icons with just letters'], + name = L["As Letters"], + desc = L["Replace icons with just letters.\n|cffFF0000Warning:|r this will disable original Blizzard's tooltips for microbar."], set = function(info, value) E.db.microbar.symbolic = value; MB:MenuShow(); end, }, visibility = { @@ -69,7 +69,7 @@ E.Options.args.sle.args.microbar = { name = L["Set Scale"], desc = L["Sets Scale of the microbar"], isPercent = true, - min = 0.3, max = 2, step = 0.01, + min = 0.2, max = 2, step = 0.01, set = function(info, value) E.db.microbar.scale = value; MB:Scale(); MB:MicroMoverSize(); end, }, } -- 1.7.9.5