Skip to content

Commit

Permalink
Fixes for previous
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckyone961 committed Apr 8, 2024
1 parent 69f7cb8 commit c3e097f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ElvUI/Cata/Modules/Skins/Collectables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ local function SkinMountFrame()

S:HandleIcon(MountJournal.MountDisplay.InfoButton.Icon, true)

S:HandleRotateButton(MountJournal.MountDisplay.ModelScene.RotateLeftButton)
S:HandleRotateButton(MountJournal.MountDisplay.ModelScene.RotateRightButton)

S:HandleButton(_G.MountJournalMountButton)
S:HandleEditBox(_G.MountJournalSearchBox)
S:HandleTrimScrollBar(_G.MountJournal.ScrollBar)
Expand Down Expand Up @@ -311,19 +314,14 @@ local function SkinHeirloomFrame()
button.IsSkinned = true
end

button.levelBackground:SetTexture()

button.name:Point('LEFT', button, 'RIGHT', 4, 8)
button.level:Point('TOPLEFT', button.levelBackground,'TOPLEFT', 25, 2)

if C_Heirloom_PlayerHasHeirloom(button.itemID) then
button.name:SetTextColor(0.9, 0.9, 0.9)
button.level:SetTextColor(0.9, 0.9, 0.9)
button.special:SetTextColor(1, .82, 0)
button.backdrop:SetBackdropBorderColor(QUALITY_7_R, QUALITY_7_G, QUALITY_7_B)
else
button.name:SetTextColor(0.4, 0.4, 0.4)
button.level:SetTextColor(0.4, 0.4, 0.4)
button.special:SetTextColor(0.4, 0.4, 0.4)
button.backdrop:SetBackdropBorderColor(unpack(E.media.bordercolor))
end
Expand Down

0 comments on commit c3e097f

Please sign in to comment.