Cursor change when moving over movable point

196 views
Skip to first unread message

KatjaP

unread,
Feb 4, 2013, 4:07:12 AM2/4/13
to jsxg...@googlegroups.com
Hi all,

is there a way to globally change the behaviour of a mouse cursor, when moved over a point with attribute fixed=false?
We would like to have a visual indiciation on which points can be dragged and which are fixed - for now, we try to solve it using highlight, however a cursor change from arrow to hand (css:pointer) would in our opinion be much better indication.
Basically we need same method as triggers infoBox to trigger cursor change.

Any help would be highly appreciated.

Thank you,
Katja

Seth Weiss

unread,
Feb 4, 2013, 4:23:13 AM2/4/13
to jsxg...@googlegroups.com, jsxg...@googlegroups.com
Hello Katja:

Not sure if this will help you, but...

I make my movable points and my non-movable points different colors.
My students have gotten used to which is which...


seth

michael

unread,
Feb 4, 2013, 4:43:39 AM2/4/13
to jsxg...@googlegroups.com
Hi Katja,


you can use the over/out events:


Setting the cursor css of the board instead of the point ensures that it will work with all renderers. But you'll have to add this handler to every single point.

I think it's time for some selector methods in board...


Michael
Reply all
Reply to author
Forward
0 new messages