MouseEnter event does not fire while entering a node.
Yes it does. You've just forgot to signal a refresh (view raw signalUpdate).
Try this:
-=-=-=-=-=-=-=-=-=
view := ROMondrianViewBuilder new.
view shape rectangle size: 20.
view interaction on: ROMouseEnter do: [ :event |
view shape line color: Color blue.
view edgesFrom: [ :i | i \\ 2 ].
view raw signalUpdate
].
view nodes: (1 to: 20).
view shape line.
view treeLayout.
view open
-=-=-=-=-=-=-=-=-=
Cheers,
Alexandre
This script shows the demonstrates the problem.
view := ROMondrianViewBuilder new.
view shape rectangle size: 20.
view interaction on: ROMouseEnter do: [ :event |
view shape line color: Color blue.
view edgesFrom: [ :i | i \\ 2 ].
].
view nodes: (1 to: 20).
view shape line.
view treeLayout.
view open
tx,
Usman Bhatti
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.