[Q][Connectors] attachmentPointNearest: should be an integerPoint?
htylim at yahoo.com.ar
Thu Apr 10 02:34:37 UTC 2003
I found that in Morph>>attachmentPoints the attachment point is
converted into an integer point:
^ self attachmentPointSpecs
collect: [:ea |
(self perform: ea first withArguments: ea
allButFirst) asIntegerPoint ]
But in Morph>>attachmentPointNearest: you don't
^ (self attachmentPointAndSpecNearest: aPoint) first
Shouldn't both be integer (or float) points?
More information about the Squeak-dev