forgot to give my 2 cents on the below...

 Troubleshooting
>> One interesting thing I noticed, is when I print ((Element)
>> evt.getCurrentTarget()).getTagName() I get svg when the listener is added
>> to
>> the root, and image when the listener is added to the image element only.
>> This would make sense to me if I wasn't able to distinguish between
>> elements
>> and only mouse over on the image elements (I added a tag called movable
>> and
>> can check that the element has that tag and only change the cursor for
>> those
>> elements).
>>
>>
You are likely getting the bubbled event call on the root element.  If both
the element and root have an event listener, you may need to check the
result of event.getCurrentTarget(). Also check out event.stopPropagaton() as
it may be very useful to you.

Reply via email to