<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">Hi, <br>
</font></p>
<p><font size="+1">In DrGeo there is this user interaction to let
the user easily merges two points: the user moves one point over
another one to merge with, then holds for 1500 milliseconds for
the merging operation to take place.</font></p>
<p><font size="+1">It is done with stepping:</font></p>
<pre><font size="+1">restartMouseStillDownHandle
self startStepping: #processMouseStillDown
in: 1500
stepTime: 1]
</font></pre>
<p><font size="+1">The problem is the mouseStillDown message is
called immediately not after 1500 milliseconds.<br>
</font></p>
<p><font size="+1">Looking at step code below, is the at: argument
right? Tried with Time millisecondClockValue (as coded with
Pharo), the effect is the same:</font></p>
<pre><font size="+1">startStepping: aSelector in: millisecs stepTime: stepTime
"Start stepping the receiver"
self world ifNotNil: [ :w |
w
startStepping: self
at: Time localMillisecondClock + millisecs
selector: aSelector
stepTime: stepTime]</font></pre>
<p><font size="+1">Any clue?</font></p>
<p><font size="+1">Thanks, best<br>
</font></p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>