diff --git a/modules/chat.lua b/modules/chat.lua index af39e918..a9c62237 100644 --- a/modules/chat.lua +++ b/modules/chat.lua @@ -344,18 +344,18 @@ pfUI:RegisterModule("chat", function () local function ChatOnMouseWheel() if (arg1 > 0) then if IsShiftKeyDown() then - frame:ScrollToTop() + this:ScrollToTop() else for i=1, C.chat.global.scrollspeed do - frame:ScrollUp() + this:ScrollUp() end end elseif (arg1 < 0) then if IsShiftKeyDown() then - frame:ScrollToBottom() + this:ScrollToBottom() else for i=1, C.chat.global.scrollspeed do - frame:ScrollDown() + this:ScrollDown() end end end @@ -461,7 +461,7 @@ pfUI:RegisterModule("chat", function () end frame:EnableMouseWheel(true) - frame:SetScript("OnMouseWheel", chatOnMouseWheel) + frame:SetScript("OnMouseWheel", ChatOnMouseWheel) end -- update dock frame for all windows diff --git a/pfUI.toc b/pfUI.toc index a7967545..4911ce77 100644 --- a/pfUI.toc +++ b/pfUI.toc @@ -2,7 +2,7 @@ ## Title: |cff33ffccpf|cffffffffUI ## Author: Shagu ## Notes: A complete user interface replacement. -## Version: 3.14.0 +## Version: 3.14.1 ## SavedVariables: pfUI_profiles, pfUI_addon_profiles, pfUI_cache ## SavedVariablesPerCharacter: pfUI_config, pfUI_init, pfUI_playerDB