mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Fix: fixed aura module with initial configuration and support for tracking buffs, debuffs, and weapon enchants
removed incorrect tutorial tooltip
This commit is contained in:
@@ -766,6 +766,8 @@ function E:StaticPopup_Resize(dialog, which)
|
||||
height = height + 8 + editBox:GetHeight()
|
||||
elseif info.hasMoneyFrame then
|
||||
height = height + 16
|
||||
elseif info.hasMoneyInputFrame then
|
||||
height = height + 22
|
||||
end
|
||||
|
||||
if height > maxHeightSoFar then
|
||||
@@ -903,6 +905,13 @@ function E:StaticPopup_Show(which, text_arg1, text_arg2, data)
|
||||
_G[name.."MoneyFrame"]:Hide()
|
||||
end
|
||||
|
||||
-- Show or hide money input frame
|
||||
if info.hasMoneyInputFrame then
|
||||
_G[name.."MoneyInputFrame"]:Show()
|
||||
else
|
||||
_G[name.."MoneyInputFrame"]:Hide()
|
||||
end
|
||||
|
||||
-- Set the miscellaneous variables for the dialog
|
||||
dialog.which = which
|
||||
dialog.timeleft = info.timeout
|
||||
|
||||
@@ -13,7 +13,6 @@ E.TutorialList = {
|
||||
L["You can toggle the microbar by using your middle mouse button on the minimap you can also accomplish this by enabling the actual microbar located in the actionbar settings."],
|
||||
L["A raid marker feature is available by pressing Escape -> Keybinds scroll to the bottom under ElvUI and setting a keybind for the raid marker."],
|
||||
L["You can set your keybinds quickly by typing /kb."],
|
||||
L["The focus unit can be set by typing /focus when you are targeting the unit you want to focus. It is recommended you make a macro to do this."],
|
||||
L["ElvUI has a dual spec feature which allows you to load different profiles based on your current spec on the fly. You can enable this from the profiles tab."],
|
||||
L["You can access copy chat and chat menu functions by mouse over the top right corner of chat panel and left/right click on the button that will appear."],
|
||||
L["If you are experiencing issues with ElvUI try disabling all your addons except ElvUI, remember ElvUI is a full UI replacement addon, you cannot run two addons that do the same thing."],
|
||||
|
||||
@@ -308,7 +308,7 @@ function A:ConfigureAuras(header, auraTable, weaponPosition)
|
||||
top = max(top, button:GetTop() or -huge)
|
||||
bottom = min(bottom, button:GetBottom() or huge)
|
||||
end
|
||||
local deadIndex = (getn(auraTable) + numWeapon) + 1
|
||||
local deadIndex = getn(auraTable) + 1
|
||||
button = _G[headerName.."AuraButton"..deadIndex]
|
||||
while button do
|
||||
if button:IsShown() then button:Hide() end
|
||||
|
||||
@@ -7,6 +7,40 @@ local min = math.min
|
||||
--WoW API / Variables
|
||||
local hooksecurefunc = hooksecurefunc
|
||||
local GetScreenHeight = GetScreenHeight
|
||||
local GetNumQuestWatches = GetNumQuestWatches
|
||||
local GetQuestIndexForWatch = GetQuestIndexForWatch
|
||||
local RemoveQuestWatch = RemoveQuestWatch
|
||||
local AddQuestWatch = AddQuestWatch
|
||||
local QuestWatch_Update = QuestWatch_Update
|
||||
|
||||
local original_QuestWatch_Update = QuestWatch_Update
|
||||
function _G.QuestWatch_Update()
|
||||
local watched = {}
|
||||
local order = {}
|
||||
local hasDuplicates = false
|
||||
for i = 1, GetNumQuestWatches() do
|
||||
local qIndex = GetQuestIndexForWatch(i)
|
||||
if qIndex then
|
||||
if watched[qIndex] then
|
||||
hasDuplicates = true
|
||||
else
|
||||
watched[qIndex] = true
|
||||
table.insert(order, qIndex)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if hasDuplicates then
|
||||
for i = 1, table.getn(order) do
|
||||
RemoveQuestWatch(order[i])
|
||||
end
|
||||
for i = 1, table.getn(order) do
|
||||
AddQuestWatch(order[i])
|
||||
end
|
||||
end
|
||||
|
||||
original_QuestWatch_Update()
|
||||
end
|
||||
|
||||
local WatchFrameHolder = CreateFrame("Frame", "WatchFrameHolder", E.UIParent)
|
||||
WatchFrameHolder:SetWidth(150)
|
||||
|
||||
Reference in New Issue
Block a user