Commit 670080cc authored by Simpy's avatar Simpy 🐹

fix skin for create/delete raid profile in blizzard settings

~ this fixes #1314 and #1319 (for create)
~ this also adds skin support for delete dialog
parent 3b46655a
......@@ -319,12 +319,27 @@ local function LoadSkin()
_G.InterfaceOptionsSocialPanel.EnableTwitter.Logo:SetAtlas("WoWShare-TwitterLogo")
--Create New Raid Profle
_G.CompactUnitFrameProfilesNewProfileDialog:SetTemplate('Transparent')
S:HandleEditBox(_G.CompactUnitFrameProfilesNewProfileDialogEditBox)
_G.CompactUnitFrameProfilesNewProfileDialogEditBox:Size(210, 25)
S:HandleDropDownBox(_G.CompactUnitFrameProfilesNewProfileDialogBaseProfileSelector)
S:HandleButton(_G.CompactUnitFrameProfilesNewProfileDialogCreateButton)
S:HandleButton(_G.CompactUnitFrameProfilesNewProfileDialogCancelButton)
local newProfileDialog = _G.CompactUnitFrameProfilesNewProfileDialog
if newProfileDialog then
newProfileDialog:SetTemplate('Transparent')
S:HandleDropDownBox(_G.CompactUnitFrameProfilesNewProfileDialogBaseProfileSelector)
S:HandleButton(_G.CompactUnitFrameProfilesNewProfileDialogCreateButton)
S:HandleButton(_G.CompactUnitFrameProfilesNewProfileDialogCancelButton)
if newProfileDialog.editBox then
S:HandleEditBox(newProfileDialog.editBox)
newProfileDialog.editBox:Size(210, 25)
end
end
--Delete Raid Profile
local deleteProfileDialog = _G.CompactUnitFrameProfilesDeleteProfileDialog
if deleteProfileDialog then
deleteProfileDialog:SetTemplate('Transparent')
S:HandleButton(_G.CompactUnitFrameProfilesDeleteProfileDialogDeleteButton)
S:HandleButton(_G.CompactUnitFrameProfilesDeleteProfileDialogCancelButton)
end
-- Toggle Test Audio Button - Wow 8.0
S:HandleButton(_G.AudioOptionsVoicePanel.TestInputDevice.ToggleTest)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment