 local ChatEnhance_21ca04c8c8b5f699ee32ef54480acd21 = nil function ScrollChatFrame_OnMouseWheel(ChatEnhance_0e2babf2e3097eec96cf9280d1412ab5) if (not ChatEnhance_21ca04c8c8b5f699ee32ef54480acd21) then return end local ChatEnhance_1346009d8936868590c1d007e3efcfae = this:GetParent() if (ChatEnhance_0e2babf2e3097eec96cf9280d1412ab5) then if (ChatEnhance_0e2babf2e3097eec96cf9280d1412ab5 > 0) then if (IsShiftKeyDown() or IsControlKeyDown()) then ChatEnhance_1346009d8936868590c1d007e3efcfae:PageUp() else ChatEnhance_1346009d8936868590c1d007e3efcfae:ScrollUp() end elseif (ChatEnhance_0e2babf2e3097eec96cf9280d1412ab5 < 0) then if (IsShiftKeyDown() or IsControlKeyDown()) then ChatEnhance_1346009d8936868590c1d007e3efcfae:PageDown() else ChatEnhance_1346009d8936868590c1d007e3efcfae:ScrollDown() end end end end function ScrollChatFrame_OnShow() if (not ChatEnhance_21ca04c8c8b5f699ee32ef54480acd21) then return end if (this and this:GetParent()) then local ChatEnhance_0db5ab7591386d733b59a51d951e85d0 = this:GetParent():GetFrameLevel() if (ChatEnhance_0db5ab7591386d733b59a51d951e85d0 > 1) then this:SetFrameLevel(ChatEnhance_0db5ab7591386d733b59a51d951e85d0 + 1) end end end function ChatEnahnce_Toggle(ChatEnhance_43975aa4b29e368c1d658b08e332e857) if (ChatEnhance_43975aa4b29e368c1d658b08e332e857) then ChatEnhance_21ca04c8c8b5f699ee32ef54480acd21 = true else ChatEnhance_21ca04c8c8b5f699ee32ef54480acd21 = nil end end 
