This commit is contained in:
Crum
2018-01-03 20:09:34 -06:00
parent fce1e1dc35
commit 2bbe331c21
12 changed files with 12 additions and 27 deletions
+5 -4
View File
@@ -38,11 +38,11 @@ E.PopupDialogs["ELVUI_UPDATE_AVAILABLE"] = {
button1 = OKAY,
OnAccept = E.noop,
EditBoxOnEnterPressed = function()
ChatEdit_FocusActiveWindow()
-- ChatEdit_FocusActiveWindow()
this:GetParent():Hide()
end,
EditBoxOnEscapePressed = function()
ChatEdit_FocusActiveWindow()
-- ChatEdit_FocusActiveWindow()
this:GetParent():Hide()
end,
EditBoxOnTextChanged = function()
@@ -51,7 +51,7 @@ E.PopupDialogs["ELVUI_UPDATE_AVAILABLE"] = {
end
this:HighlightText()
this:ClearFocus()
ChatEdit_FocusActiveWindow()
-- ChatEdit_FocusActiveWindow()
end,
OnEditFocusGained = function()
this:HighlightText()
@@ -62,6 +62,7 @@ E.PopupDialogs["ELVUI_UPDATE_AVAILABLE"] = {
E.PopupDialogs["CLIQUE_ADVERT"] = {
text = L["Using the healer layout it is highly recommended you download the addon Clique if you wish to have the click-to-heal function."],
button1 = YES,
button2 = "", -- Temporary until further fix
OnAccept = E.noop,
showAlert = 1
}
@@ -809,7 +810,7 @@ function E:StaticPopup_Show(which, text_arg1, text_arg2, data)
local button2 = _G[name.."Button2"]
do
-- assert(getn(tempButtonLocs == 0))
-- assert(getn(tempButtonLocs == 0))
tinsert(tempButtonLocs, button1)
tinsert(tempButtonLocs, button2)
+4 -4
View File
@@ -25,13 +25,13 @@ local ERR_NOT_IN_COMBAT = ERR_NOT_IN_COMBAT
local MAX_TALENT_TABS = MAX_TALENT_TABS
local RAID_CLASS_COLORS = RAID_CLASS_COLORS
E.myclass = UnitClass("player") -- Constants
E.myrace = UnitRace("player")
E.myfaction = UnitFactionGroup("player")
_, E.myclass = UnitClass("player") -- Constants
_, E.myrace = UnitRace("player")
_, E.myfaction = UnitFactionGroup("player")
E.myname = UnitName("player")
E.version = GetAddOnMetadata("ElvUI", "Version")
E.myrealm = GetRealmName()
E.wowbuild = GetBuildInfo() E.wowbuild = tonumber(E.wowbuild)
_, E.wowbuild = GetBuildInfo() E.wowbuild = tonumber(E.wowbuild)
E.resolution = GetCVar("gxResolution")
E.screenheight = tonumber(match(E.resolution, "%d+x(%d+)"));
E.screenwidth = tonumber(match(E.resolution, "(%d+)x+%d"));