mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 05:20:31 +02:00
fixed stepit(integer)
patch from: Matthijs Willemstein git-svn-id: trunk@8709 -
This commit is contained in:
parent
02d58be3f6
commit
b147b403b4
@ -236,8 +236,7 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TCustomProgressBar.StepBy(Delta: Integer);
|
||||
begin
|
||||
if FStep < Delta then FPosition := FPosition + (Delta - FStep);
|
||||
if FStep > Delta then FPosition := FPosition - (Delta);
|
||||
FPosition := FPosition + Delta - FStep;
|
||||
StepIt;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user