Skip to content

Commit

Permalink
Added skin for CopyScrollScrollBar. Always use our skin for copy chat.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Feb 1, 2016
1 parent 27825d3 commit aaefe99
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions ShestakUI/Modules/Chat/CopyChat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,9 @@ local function CreatCopyFrame()
end)

local close = CreateFrame("Button", "CopyCloseButton", frame, "UIPanelCloseButton")
if C.skins.blizzard_frames == true then
T.SkinCloseButton(close)
scrollArea:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -27, 8)
else
close:SetPoint("TOPRIGHT", frame, "TOPRIGHT")
scrollArea:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -30, 8)
end
T.SkinCloseButton(close)
scrollArea:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -27, 8)
T.SkinScrollBar(CopyScrollScrollBar)

isf = true
end
Expand Down

0 comments on commit aaefe99

Please sign in to comment.