mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Add support MouseWheel for mail, merchant and spellbook
This commit is contained in:
@@ -22,6 +22,19 @@ local function LoadSkin()
|
||||
E:Point(MerchantFrame.backdrop, "TOPLEFT", 10, -11)
|
||||
E:Point(MerchantFrame.backdrop, "BOTTOMRIGHT", -28, 60)
|
||||
|
||||
MerchantFrame:EnableMouseWheel(true)
|
||||
MerchantFrame:SetScript("OnMouseWheel", function()
|
||||
if arg1 > 0 then
|
||||
if MerchantPrevPageButton:IsShown() and MerchantPrevPageButton:IsEnabled() == 1 then
|
||||
MerchantPrevPageButton_OnClick()
|
||||
end
|
||||
else
|
||||
if MerchantNextPageButton:IsShown() and MerchantNextPageButton:IsEnabled() == 1 then
|
||||
MerchantNextPageButton_OnClick()
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
S:HandleCloseButton(MerchantFrameCloseButton, MerchantFrame.backdrop)
|
||||
|
||||
for i = 1, 12 do
|
||||
|
||||
Reference in New Issue
Block a user