The Trunk: EToys-mt.328.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: EToys-mt.328.mcz

commits-2
Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-mt.328.mcz

==================== Summary ====================

Name: EToys-mt.328
Author: mt
Time: 12 May 2018, 10:57:29.401582 am
UUID: 5269f6c3-6d89-294a-a49c-dbd1381b3eb4
Ancestors: EToys-mt.327

Duplicate a check from PolygonMorph in SectorMorph.

Would be nice if we could see if a super call had an early exit. :-) There are several examples in the image such as Morph >> #extent: and the #closeTo: check.

=============== Diff against EToys-mt.327 ===============

Item was changed:
  ----- Method: SectorMorph>>computeBounds (in category 'updating') -----
  computeBounds
  super computeBounds.
+ vertices ifNil: [^ self].
  self setRotationCenterFrom: vertices first!