Files
pfUI/skins/blizzard/popup_dialogs.lua
T
Meow 34f5c3eb02 Version 6.1.0 - Raid/Party Frame Fixes
Bugfixes:
- Fixed 40-yard range check not working for raid/party frames
- Fixed aggro indicator not displaying properly on raid/party frames
- Improved aggro cache to only cache positive results for instant detection
- Fixed HP/Mana not updating with "Use Raid Frames for group" enabled
- Added SuperWoW nil-check for SpellInfo
- Added missing events: PARTY_MEMBER_ENABLE, PARTY_MEMBER_DISABLE, PLAYER_UPDATE_RESTING

UI Improvements:
- Share/Hoverbind buttons now show warning when module is disabled
2026-01-08 12:25:18 +01:00

32 lines
947 B
Lua

pfUI:RegisterSkin("Popup Dialogs", "vanilla:tbc", function ()
for i = 1, STATICPOPUP_NUMDIALOGS do
-- Compatibility
local money = _G["StaticPopup"..i.."MoneyInputFrame"]
if money then -- tbc
SkinMoneyInputFrame(money)
end
local dialog = _G["StaticPopup"..i]
CreateBackdrop(dialog, nil, true, .75)
CreateBackdropShadow(dialog)
SkinCloseButton(_G[dialog:GetName().."CloseButton"], dialog, -6, -6)
SkinButton(_G[dialog:GetName().."Button1"])
SkinButton(_G[dialog:GetName().."Button2"])
local editbox = _G[dialog:GetName().."EditBox"]
editbox:DisableDrawLayer("BACKGROUND")
CreateBackdrop(editbox)
editbox:SetHeight(18)
local wide_editbox = _G[dialog:GetName().."WideEditBox"]
wide_editbox:DisableDrawLayer("BACKGROUND")
CreateBackdrop(wide_editbox)
wide_editbox:SetHeight(18)
wide_editbox:ClearAllPoints()
wide_editbox:SetPoint("BOTTOM", 0, 45)
end
end)