[Cuis-dev] mouse enter/leave events
Juan Vuletich
juan at cuis.st
Wed Sep 24 10:27:37 PDT 2025
Hi Hilaire,
I've just pushed a fix for this.
Thanks,
On 24/09/2025 10:22 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> I think I have issues with the mouseEnter/Leaver. Don't know if it is
> related to recent changes but the behavior has changed unexpectedly in
> my app.
>
> When the mouse enters an annotator morph, the annotator receives a
> mouse enter (normal) then a mouse leave event (abnormal).
>
> This is because the the enter handler does that:
>
> mouseEnter: evt 'enter' print. self removeAlarm: #removeHalo.
> self show. * self addHalo*
>
> Adding the halo makes the system to emit a mouse leave event to the
> annotator. Then if I move again the mouse while still over the
> annotator, a new mouse enter event is emmited. So it is like adding
> the halo to the annotator makes the mouse to leaven the morph, which
> is not the case.
>
> This issue was not present previously.
>
> Thanks
>
> Hilaire
>
> --
> http://mamot.fr/@drgeo
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250924/6572d903/attachment.htm>
More information about the Cuis-dev
mailing list