IDE, adjusted objectinspector scrollbar scroller to make it consistent, from Anton, issue #22748

git-svn-id: trunk@40340 -
This commit is contained in:
jesus 2013-02-17 19:25:36 +00:00
parent 324d155e3e
commit 5af59d494c

View File

@ -980,7 +980,7 @@ begin
ScrollInfo.nMin := 0;
ScrollInfo.nTrackPos := 0;
ScrollInfo.nMax := ATopMax+ClientHeight-1;
ScrollInfo.nPage := ClientHeight;
ScrollInfo.nPage := ClientHeight-1;
if ScrollInfo.nPage<1 then ScrollInfo.nPage:=1;
if TopY > ATopMax then TopY:=ATopMax;
ScrollInfo.nPos := TopY;