Files
pfUI/skins/blizzard/stable.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

43 lines
1.3 KiB
Lua

pfUI:RegisterSkin("Pet Stable Master", "vanilla:tbc", function ()
StripTextures(PetStableFrame)
CreateBackdrop(PetStableFrame, nil, nil, .75)
CreateBackdropShadow(PetStableFrame)
PetStableFrame.backdrop:SetPoint("TOPLEFT", 10, -10)
PetStableFrame.backdrop:SetPoint("BOTTOMRIGHT", -32, 72)
PetStableFrame:SetHitRectInsets(10,32,10,72)
EnableMovable(PetStableFrame)
SkinCloseButton(PetStableFrameCloseButton, PetStableFrame.backdrop, -6, -6)
PetStableFrame:DisableDrawLayer("BACKGROUND")
PetStableTitleLabel:ClearAllPoints()
PetStableTitleLabel:SetPoint("TOP", PetStableFrame.backdrop, "TOP", 0, -10)
EnableClickRotate(PetStableModel)
PetStableModelRotateLeftButton:Hide()
PetStableModelRotateRightButton:Hide()
PetStablePetInfo:ClearAllPoints()
PetStablePetInfo:SetPoint("TOPLEFT", PetStableModel, "TOPLEFT", 10, 0)
local buttons = {"PetStableCurrentPet", "PetStableStabledPet1", "PetStableStabledPet2"}
for _,v in pairs(buttons) do
local button = _G[v]
StripTextures(button)
SkinButton(button, nil, nil, nil, _G[button:GetName().."IconTexture"])
button.Enable = function()
button:SetBackdropColor()
button.locked = false
end
button.Disable = function()
button:SetBackdropColor(1, .1, .1, .3)
button.locked = true
end
end
SkinButton(PetStablePurchaseButton)
end)