more cleanup

This commit is contained in:
Crum
2018-01-03 21:25:06 -06:00
parent 2bbe331c21
commit 5739eccbe3
6 changed files with 11 additions and 4 deletions
@@ -299,6 +299,8 @@ function M:Initialize()
MinimapBorder:Hide() MinimapBorder:Hide()
MinimapBorderTop:Hide() MinimapBorderTop:Hide()
MinimapToggleButton:Hide()
MinimapZoomIn:Hide() MinimapZoomIn:Hide()
MinimapZoomOut:Hide() MinimapZoomOut:Hide()
@@ -80,7 +80,7 @@ local function LoadSkin()
end end
end) end)
HookScript(LootFrame, "OnShow", function() --[[HookScript(LootFrame, "OnShow", function()
if IsFishingLoot() then if IsFishingLoot() then
this.Title:SetText(L["Fishy Loot"]) this.Title:SetText(L["Fishy Loot"])
elseif not UnitIsFriend("player", "target") and UnitIsDead("target") then elseif not UnitIsFriend("player", "target") and UnitIsDead("target") then
@@ -88,7 +88,7 @@ local function LoadSkin()
else else
this.Title:SetText(LOOT) this.Title:SetText(LOOT)
end end
end) end)--]]
end end
local function LoadRollSkin() local function LoadRollSkin()
+1
View File
@@ -12,4 +12,5 @@ G["general"] = {
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
}, },
["versionCheck"] = true
} }
+4 -1
View File
@@ -14,7 +14,9 @@ V["general"] = {
["pixelPerfect"] = true, ["pixelPerfect"] = true,
["replaceBlizzFonts"] = true, ["replaceBlizzFonts"] = true,
["minimap"] = { ["minimap"] = {
["enable"] = true ["enable"] = true,
["hideCalendar"] = true,
["zoomLevel"] = 0,
}, },
} }
@@ -81,6 +83,7 @@ V["skins"] = {
["tradeskill"] = true, ["tradeskill"] = true,
["trainer"] = true, ["trainer"] = true,
["tutorial"] = true, ["tutorial"] = true,
["watchframe"] = true,
["worldmap"] = true, ["worldmap"] = true,
["mirrorTimers"] = true ["mirrorTimers"] = true
}, },
+1
View File
@@ -14,6 +14,7 @@ P["general"] = {
["autoAcceptInvite"] = false, ["autoAcceptInvite"] = false,
["bottomPanel"] = true, ["bottomPanel"] = true,
["hideErrorFrame"] = true, ["hideErrorFrame"] = true,
["watchFrameHeight"] = 480,
["afk"] = true, ["afk"] = true,
["enhancedPvpMessages"] = true, ["enhancedPvpMessages"] = true,
["numberPrefixStyle"] = "ENGLISH", ["numberPrefixStyle"] = "ENGLISH",
+1 -1
View File
@@ -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 = { E.Options.args.general = {
type = "group", type = "group",