Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skin: improve UnitXP #1375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions modules/thirdparty-vanilla.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1224,8 +1224,6 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
-- UnitXP SP3 compatibility
-- https://github.com/allfoxwy/UnitXP_SP3
HookAddonOrVariable("UnitXP_SP3_Addon", function()
-- skin main menu button
SkinButton(GameMenuButtonXPSP3)
-- skin UnitXP SP3 window and elements
StripTextures(xpsp3Frame)
CreateBackdrop(xpsp3Frame)
Expand All @@ -1236,7 +1234,16 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
SkinCheckbox(xpsp3_checkButton_modernNameplate)
SkinCheckbox(xpsp3_checkButton_notify_flashTaskbarIcon)
SkinCheckbox(xpsp3_checkButton_notify_playSystemDefaultSound)
SkinButton(xpsp3_button_close)

local buttons = {
GameMenuButtonXPSP3,
xpsp3_button_close,
xpsp3_button_cameraHeight_raise,
xpsp3_button_cameraHeight_lower,
}
for _, button in pairs(buttons) do
SkinButton(button)
end
end)

end)