mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 00:40:43 +01:00
IDEIntf: less hints
git-svn-id: trunk@58047 -
This commit is contained in:
parent
dfe5c6d9de
commit
62fbb3de6c
@ -125,7 +125,7 @@ var
|
||||
TimeStep: Integer;
|
||||
X, Y: Integer;
|
||||
Start: TPoint;
|
||||
S: LongWord;
|
||||
S: QWord;
|
||||
begin
|
||||
Start := Mouse.CursorPos;
|
||||
|
||||
@ -133,8 +133,9 @@ begin
|
||||
begin
|
||||
TimeStep := Min(Interval, Duration);
|
||||
|
||||
S := GetTickCount;
|
||||
while GetTickCount - S < TimeStep do Application.ProcessMessages;
|
||||
S := GetTickCount64;
|
||||
while GetTickCount64 - S < TimeStep do
|
||||
Application.ProcessMessages;
|
||||
|
||||
X := Start.X + ((ScreenX - Start.X) * TimeStep) div Duration;
|
||||
Y := Start.Y + ((ScreenY - Start.Y) * TimeStep) div Duration;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user