Comment #1 on issue 903 by alexandr...(a)gmail.com: ROEdge without ROLine
locks the image
http://code.google.com/p/moose-technology/issues/detail?id=903
This is really strange. I do not have a window to try this out, but on OSX,
with the last version of Roassal, the following code does not raise an
exception.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| view node1 node2 edge |
view := ROView new.
node1 := ROLabel elementOn: 'node1'.
node2 := ROLabel elementOn: 'node2'.
edge := (ROEdge from: node1 to: node2) "+ ROLine" .
view add: node1; add: node2; add: edge.
view bitmap
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
It should have raised an exception if an error would occur.
Anyway, I see the problem with topLeft. The check in ROEdge>>contains:
aPoint does not seem that necessary, since RONullShape return false to
#contains:
I guess the problem should go away with the new version, but since I cannot
reproduce the problem.
Ben, can you confirm the problem has disappeared and fix this issue?