[squeak-dev] Morph position: rounding side effect
Stéphane Rollandin
lecteur at zogotounga.net
Tue Feb 12 20:51:42 UTC 2013
Still working on porting Scratch to 4.4, I stumbled into a weird display
bug which I eventually fixed after hours of unpleasant wandering by
reverting the laza 2010 version of Morph>>position: to the previous wiz
version of 2004.
The change amounts to replacing
delta := (aPoint - bounds topLeft) rounded.
with
delta := aPoint asNonFractionalPoint - bounds topLeft.
Hence my question: does someone knows the reason for the 2010 change ?
Stef
More information about the Squeak-dev
mailing list
|