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()
|
height = height + 8 + editBox:GetHeight()
|
||||||
elseif info.hasMoneyFrame then
|
elseif info.hasMoneyFrame then
|
||||||
height = height + 16
|
height = height + 16
|
||||||
|
elseif info.hasMoneyInputFrame then
|
||||||
|
height = height + 22
|
||||||
end
|
end
|
||||||
|
|
||||||
if height > maxHeightSoFar then
|
if height > maxHeightSoFar then
|
||||||
@@ -903,6 +905,13 @@ function E:StaticPopup_Show(which, text_arg1, text_arg2, data)
|
|||||||
_G[name.."MoneyFrame"]:Hide()
|
_G[name.."MoneyFrame"]:Hide()
|
||||||
end
|
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
|
-- Set the miscellaneous variables for the dialog
|
||||||
dialog.which = which
|
dialog.which = which
|
||||||
dialog.timeleft = info.timeout
|
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["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["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["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["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["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."],
|
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)
|
top = max(top, button:GetTop() or -huge)
|
||||||
bottom = min(bottom, button:GetBottom() or huge)
|
bottom = min(bottom, button:GetBottom() or huge)
|
||||||
end
|
end
|
||||||
local deadIndex = (getn(auraTable) + numWeapon) + 1
|
local deadIndex = getn(auraTable) + 1
|
||||||
button = _G[headerName.."AuraButton"..deadIndex]
|
button = _G[headerName.."AuraButton"..deadIndex]
|
||||||
while button do
|
while button do
|
||||||
if button:IsShown() then button:Hide() end
|
if button:IsShown() then button:Hide() end
|
||||||
|
|||||||
@@ -7,6 +7,40 @@ local min = math.min
|
|||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
local GetScreenHeight = GetScreenHeight
|
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)
|
local WatchFrameHolder = CreateFrame("Frame", "WatchFrameHolder", E.UIParent)
|
||||||
WatchFrameHolder:SetWidth(150)
|
WatchFrameHolder:SetWidth(150)
|
||||||
|
|||||||
@@ -6,6 +6,10 @@
|
|||||||
# This repository is actively being fixed and maintained by Bluewhale.
|
# This repository is actively being fixed and maintained by Bluewhale.
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
- **Fix:** Corrected bug in `Auras.lua` where unused buff icons remained visible on screen due to improper `deadIndex` calculation.
|
||||||
|
- **Fix:** Fixed quest tracker duplicating entries by overriding `QuestWatch_Update` to deduplicate quests manually.
|
||||||
|
- **Fix:** Hid the unwanted `MoneyInputFrame` from appearing over `StaticPopup` dialogs (like the UI Reload prompt) by updating custom popup handling.
|
||||||
|
- **Fix:** Removed false tutorial text referencing a non-existent `/focus` command.
|
||||||
- **Fix:** Corrected Vanilla WoW (1.12) `UnitBuff` and `UnitDebuff` API parsing in `BuffIndicator` and `oUF_RaidDebuffs` to prevent missing textures and improper debuff filtering.
|
- **Fix:** Corrected Vanilla WoW (1.12) `UnitBuff` and `UnitDebuff` API parsing in `BuffIndicator` and `oUF_RaidDebuffs` to prevent missing textures and improper debuff filtering.
|
||||||
- **Fix:** Removed implicit `arg` table leak in `hooksecurefunc` (varargs `...` issue in Lua 5.0).
|
- **Fix:** Removed implicit `arg` table leak in `hooksecurefunc` (varargs `...` issue in Lua 5.0).
|
||||||
- **Fix:** Stripped invisible UTF-8 BOM from `utf8data.lua` that caused Lua parser errors.
|
- **Fix:** Stripped invisible UTF-8 BOM from `utf8data.lua` that caused Lua parser errors.
|
||||||
|
|||||||
Reference in New Issue
Block a user