mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
DateTime editor: Shorten the timer delay before auto counting gets started to a subjectively better value.
This commit is contained in:
@ -499,8 +499,8 @@ var
|
||||
DelayCalls: Integer;
|
||||
begin
|
||||
Inc(FTimerCalls);
|
||||
// 0.5 second delay before counting up/down
|
||||
DelayCalls := 500 Div FTimer.Interval;
|
||||
// short delay before counting up/down
|
||||
DelayCalls := 350 Div FTimer.Interval;
|
||||
if (FTimerCalls > DelayCalls) or (not (Sender is TTimer)) then
|
||||
ModifyDate(FModifyOffset);
|
||||
// Speed up counting in steps
|
||||
|
Reference in New Issue
Block a user