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