adjust scrolling factor, instead of 40%, do 12.5%

git-svn-id: trunk@9283 -
This commit is contained in:
micha 2006-05-15 20:23:14 +00:00
parent 4985171d4c
commit 31ab65cb0f

View File

@ -179,7 +179,7 @@ var
begin
with TLMMouseEvent(Message) do
begin
WParam := Windows.WParam(ScrollInfo.nPos - (WheelDelta * Integer(ScrollInfo.nPage) * 4) div (120 * 10));
WParam := Windows.WParam(ScrollInfo.nPos - (WheelDelta * Integer(ScrollInfo.nPage)) div (120 * 8));
if WParam > ScrollInfo.nMax - integer(ScrollInfo.nPage) + 1 then
WParam := ScrollInfo.nMax - integer(ScrollInfo.nPage) + 1;
if WParam < ScrollInfo.nMin then