mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 08:00:24 +02:00
cocoa: fix multy-clicks
git-svn-id: trunk@34458 -
This commit is contained in:
parent
001ddf6bc9
commit
e4a811c552
@ -239,7 +239,7 @@ var
|
||||
|
||||
function LastClickInTime: boolean;
|
||||
begin
|
||||
Result := ((Event.timestamp - LastMouse.TimeStamp) <= ((1/86400)*(Event.doubleClickInterval/1000)));
|
||||
Result := (Event.timestamp - LastMouse.TimeStamp) <= Event.doubleClickInterval;
|
||||
end;
|
||||
|
||||
function TestIfMultiClick: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user