[squeak-dev] The Trunk: Morphic-dtl.542.mcz
commits at source.squeak.org
commits at source.squeak.org
Sun May 22 20:29:45 UTC 2011
David T. Lewis uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-dtl.542.mcz
==================== Summary ====================
Name: Morphic-dtl.542
Author: dtl
Time: 22 May 2011, 4:28:44.002 pm
UUID: 08000000-1508-341b-1508-341b14000000
Ancestors: Morphic-laza.541
Fix Mantis 7635: Graphics primitives will raise errors when rectangles have widths in fractions.
Morph>>extent: should send #rounded to the new extent to ensure integer values.
=============== Diff against Morphic-laza.541 ===============
Item was changed:
----- Method: Morph>>extent: (in category 'geometry') -----
extent: aPoint
(bounds extent closeTo: aPoint) ifTrue: [^ self].
self changed.
+ bounds := (bounds topLeft extent: aPoint) rounded.
- bounds := bounds topLeft extent: aPoint.
self layoutChanged.
self changed.
!
More information about the Squeak-dev
mailing list
|