mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 04:36:31 +02:00
LCL: grids: fixed result of DoMouseWheelUp/Down
git-svn-id: trunk@21422 -
This commit is contained in:
parent
0f47af48bc
commit
d5a845d99d
@ -5533,7 +5533,7 @@ begin
|
||||
Result:=inherited DoMouseWheelDown(Shift, MousePos);
|
||||
if not Result then begin
|
||||
GridMouseWheel(Shift, 1);
|
||||
Result := true;
|
||||
// keep Result=false to let the interface scroll
|
||||
end;
|
||||
{$ifdef dbgScroll}DebugLn('doMouseWheelDown END');{$endif}
|
||||
end;
|
||||
@ -5545,7 +5545,7 @@ begin
|
||||
Result:=inherited DoMouseWheelUp(Shift, MousePos);
|
||||
if not Result then begin
|
||||
GridMouseWheel(Shift, -1);
|
||||
Result := true;
|
||||
// keep Result=false to let the interface scroll
|
||||
end;
|
||||
{$ifdef dbgScroll}DebugLn('doMouseWheelUP END');{$endif}
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user