Hi Archie,
The problem is the use in the second 'group' (walls.1).
Since this is
drawn over the
'theNode' it recieves the pointer-events. If you don't
want this to be
sensitive to pointer-events
you can set: 'pointer-events="none"' on that
group.
Archie Cobbs <archie dellroad.org> wrote on 04/29/2006
01:48:03 PM:
> thomas.deweese kodak.com wrote:
> > Archie Cobbs <archie dellroad.org> wrote on
04/28/2006 05:17:39 PM:
> >> So I wrote a small test case (attached), but
now I can't
> >> get ANY events to be emitted!
> >
> > canvas = new JSVGCanvas(null, false,
false);
> >
> > The second argument is called
'eventsEnabled'
> > you passed false so _all_ events are disabled in
the canvas...
>
> D'OH! Sorry for the stupidity.
>
> But this is great because now I can include the REAL
test case.
>
> Change the "false" to "true"
and try it on the attached SVG file.
>
> I get pointer events from the body of the person, but
not from the
> big plus sign. Also, if you click on the outline of the
person
> (i.e., not within but on it) no events are generated
either.
> Only the pink fill seems to generate events.
>
> This is what I'm trying to understand (and fix or
workaround).
>
> Thanks!
> -Archie
>
>
____________________________________________________________
______________
> Archie Cobbs * CTO, Awarix * http://www.awarix.com
> [attachment "clickbug.svg" deleted by
Thomas E. DeWeese/449433/EKC]
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: batik-users-unsubscribe xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help xmlgraphics.apache.org
------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-users-unsubscribe xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help xmlgraphics.apache.org
|