mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 11:19:22 +02:00
Qt: SetScrollInfo() added missing singleStep calculation, now wheel scrolls perfectly
git-svn-id: trunk@15131 -
This commit is contained in:
parent
c18febb872
commit
74852c55e3
@ -4272,7 +4272,10 @@ var
|
||||
begin
|
||||
// segfaults if we don't check Enabled property
|
||||
if ScrollBar.getEnabled then
|
||||
begin
|
||||
ScrollBar.setPageStep(ScrollInfo.nPage);
|
||||
ScrollBar.setSingleStep((ScrollBar.getPageStep div 6) + 1);
|
||||
end;
|
||||
end;
|
||||
|
||||
if (ScrollInfo.FMask and SIF_POS) <> 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user