Skip to content

Commit

Permalink
Hide Blizzard QuickKeybindGlow. Fixed ExtraActionButton1 skin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Oct 16, 2020
1 parent f894037 commit 55c34bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ShestakUI/Modules/ActionBars/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ frame:SetScript("OnEvent", function()
MicroButtonAndBagsBar:SetPoint("BOTTOMRIGHT", 0, -99) -- Prevent scaling for right panels

local elements = {
MainMenuBar, MainMenuBarArtFrame, OverrideActionBar, PossessBarFrame, PetActionBarFrame, StanceBarFrame
MainMenuBar, MainMenuBarArtFrame, OverrideActionBar, PossessBarFrame, PetActionBarFrame, StanceBarFrame,
MultiBarBottomLeft.QuickKeybindGlow, MultiBarLeft.QuickKeybindGlow, MultiBarBottomRight.QuickKeybindGlow, MultiBarRight.QuickKeybindGlow
}

if not C_ClassTrial.IsClassTrialCharacter() then
Expand Down
9 changes: 9 additions & 0 deletions ShestakUI/Modules/ActionBars/Style.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ local function StyleNormalButton(button)
-- button.iborder:SetFrameLevel(button:GetFrameLevel())
end

if button.QuickKeybindHighlightTexture then
button.QuickKeybindHighlightTexture:SetTexture("")
end

button.isSkinned = true
end
end
Expand Down Expand Up @@ -189,6 +193,10 @@ local function StyleSmallButton(normal, button, icon, name, pet)
normal:SetPoint("BOTTOMRIGHT")
end

if button.QuickKeybindHighlightTexture then
button.QuickKeybindHighlightTexture:SetTexture("")
end

button.isSkinned = true
end
end
Expand Down Expand Up @@ -287,6 +295,7 @@ do
_G["StanceButton"..i]:StyleButton()
_G["PetActionButton"..i]:StyleButton()
end
StyleNormalButton(ExtraActionButton1)
end

hooksecurefunc("ActionButton_UpdateFlyout", StyleFlyoutButton)
Expand Down

0 comments on commit 55c34bd

Please sign in to comment.