vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 --[[
2 ChatScroll
3  
4 original author: AnduinLothar <Anduin@cosmosui.org>
5 modified by : Aaike Van Roekeghem - a.k.a [LoSt]Madness
6 ]]--
7  
8 LSChatConfig.Mousewheel = false;
9  
10 function ChatFrame_OnMouseWheel(chatframe, value)
11 if ( LSChatConfig.Mousewheel ) and ( not IsShiftKeyDown() ) then
12 if ( value > 0 ) then
13 chatframe:ScrollUp();
14 elseif ( value < 0 ) then
15 chatframe:ScrollDown();
16 end
17 else
18 if ( value > 0 ) then
19 ActionBar_PageUp();
20 elseif ( value < 0 ) then
21 ActionBar_PageDown();
22 end
23 end
24 end