-------- Original Message --------
Subject: Re: [Laszlo-user] repeated mouse events with same coordinates
Date: Wed, 18 Jan 2006 12:31:36 -0500
From: P T Withington <
ptw@pobox.com>
To: Denis Bohm <
denis@fireflydesign.com>
CC:
laszlo-user@openlaszlo.org
References: <
43CE7591.4030007@fireflydesign.com>
I would say this is a bug.
Currently, the dependencies function for getMouse is the idle loop.
This was probably a kluge for older players. In modern players you
can listen for mouse moves, and there is already a mouse listener
object for handling the mouse wheel. Clearly this same listener
could have an event for mouse motion, which should be what getMouse's
dependency is.
You can file a bug at
http://www.openlaszlo.org/jira/
On 18 Jan 2006, at 12:06, Denis Bohm wrote:
> I have the following code in a state (much like that in the
> developer documentation):
>
> <attribute name="mx" value="${parent.getMouse('x')}"/>
> <method event="onmx">
>
> When I try it the "onmx" event method is called repeatedly even
> when the mouse is not moving. Am I doing something wrong? Is
> there a way to only get sent events when the value changes?
>
> _______________________________________________
> Laszlo-user mailing list
>
Laszlo-user@openlaszlo.org
>
http://www.openlaszlo.org/mailman/listinfo/laszlo-user