From 5739eccbe38726fc7675836249504e08a24f1eb7 Mon Sep 17 00:00:00 2001 From: Crum Date: Wed, 3 Jan 2018 21:25:06 -0600 Subject: [PATCH] more cleanup --- 2/3/4/5/6/7/ElvUI/Modules/Maps/Minimap.lua | 2 ++ 2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Loot.lua | 4 ++-- 2/3/4/5/6/7/ElvUI/Settings/Global.lua | 1 + 2/3/4/5/6/7/ElvUI/Settings/Private.lua | 5 ++++- 2/3/4/5/6/7/ElvUI/Settings/Profile.lua | 1 + 2/3/4/5/6/7/ElvUI_Config/General.lua | 2 +- 6 files changed, 11 insertions(+), 4 deletions(-) diff --git a/2/3/4/5/6/7/ElvUI/Modules/Maps/Minimap.lua b/2/3/4/5/6/7/ElvUI/Modules/Maps/Minimap.lua index afa0126..85b9bc3 100644 --- a/2/3/4/5/6/7/ElvUI/Modules/Maps/Minimap.lua +++ b/2/3/4/5/6/7/ElvUI/Modules/Maps/Minimap.lua @@ -299,6 +299,8 @@ function M:Initialize() MinimapBorder:Hide() MinimapBorderTop:Hide() + MinimapToggleButton:Hide() + MinimapZoomIn:Hide() MinimapZoomOut:Hide() diff --git a/2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Loot.lua b/2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Loot.lua index d8f2d1d..a708203 100644 --- a/2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Loot.lua +++ b/2/3/4/5/6/7/ElvUI/Modules/Skins/Blizzard/Loot.lua @@ -80,7 +80,7 @@ local function LoadSkin() end end) - HookScript(LootFrame, "OnShow", function() + --[[HookScript(LootFrame, "OnShow", function() if IsFishingLoot() then this.Title:SetText(L["Fishy Loot"]) elseif not UnitIsFriend("player", "target") and UnitIsDead("target") then @@ -88,7 +88,7 @@ local function LoadSkin() else this.Title:SetText(LOOT) end - end) + end)--]] end local function LoadRollSkin() diff --git a/2/3/4/5/6/7/ElvUI/Settings/Global.lua b/2/3/4/5/6/7/ElvUI/Settings/Global.lua index cddda94..ee1714c 100644 --- a/2/3/4/5/6/7/ElvUI/Settings/Global.lua +++ b/2/3/4/5/6/7/ElvUI/Settings/Global.lua @@ -12,4 +12,5 @@ G["general"] = { ["xOffset"] = 0, ["yOffset"] = 0 }, + ["versionCheck"] = true } \ No newline at end of file diff --git a/2/3/4/5/6/7/ElvUI/Settings/Private.lua b/2/3/4/5/6/7/ElvUI/Settings/Private.lua index b03d67f..bc562e6 100644 --- a/2/3/4/5/6/7/ElvUI/Settings/Private.lua +++ b/2/3/4/5/6/7/ElvUI/Settings/Private.lua @@ -14,7 +14,9 @@ V["general"] = { ["pixelPerfect"] = true, ["replaceBlizzFonts"] = true, ["minimap"] = { - ["enable"] = true + ["enable"] = true, + ["hideCalendar"] = true, + ["zoomLevel"] = 0, }, } @@ -81,6 +83,7 @@ V["skins"] = { ["tradeskill"] = true, ["trainer"] = true, ["tutorial"] = true, + ["watchframe"] = true, ["worldmap"] = true, ["mirrorTimers"] = true }, diff --git a/2/3/4/5/6/7/ElvUI/Settings/Profile.lua b/2/3/4/5/6/7/ElvUI/Settings/Profile.lua index 45f4aa7..583b6e8 100644 --- a/2/3/4/5/6/7/ElvUI/Settings/Profile.lua +++ b/2/3/4/5/6/7/ElvUI/Settings/Profile.lua @@ -14,6 +14,7 @@ P["general"] = { ["autoAcceptInvite"] = false, ["bottomPanel"] = true, ["hideErrorFrame"] = true, + ["watchFrameHeight"] = 480, ["afk"] = true, ["enhancedPvpMessages"] = true, ["numberPrefixStyle"] = "ENGLISH", diff --git a/2/3/4/5/6/7/ElvUI_Config/General.lua b/2/3/4/5/6/7/ElvUI_Config/General.lua index 88c4099..0e527d1 100644 --- a/2/3/4/5/6/7/ElvUI_Config/General.lua +++ b/2/3/4/5/6/7/ElvUI_Config/General.lua @@ -1,4 +1,4 @@ -local E, L, V, P, G = unpack(ElvUI); +local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB E.Options.args.general = { type = "group",