The Trunk: MorphicExtras-pre.180.mcz

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

The Trunk: MorphicExtras-pre.180.mcz

commits-2
Patrick Rein uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-pre.180.mcz

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

Name: MorphicExtras-pre.180
Author: pre
Time: 4 August 2016, 12:43:42.582407 pm
UUID: 0c786ccd-27d9-4a44-a5be-d488104568ae
Ancestors: MorphicExtras-eem.179

Fixes a test by re-ordering the way the trashcanmorph images are set. Otherwise, through unexpected side effects it would try to get the extent of the offimage which is not yet set.

=============== Diff against MorphicExtras-eem.179 ===============

Item was changed:
  ----- Method: TrashCanMorph>>initialize (in category 'initialization') -----
  initialize
  "Initialize the receiver's graphics, name, and balloon-help"
 
  super initialize.
+ self offImage: TrashPic;
+ pressedImage: TrashPicOn;
+ image: TrashPicOn.
- self image: TrashPicOn;
- offImage: TrashPic;
- pressedImage: TrashPicOn.
  self setNameTo: 'Trash' translated.
  self setBalloonText:
  'To remove an object, drop it on any trash can. To view, and maybe retrieve, items that have been thrown away, double-click on any trash-can.  Things are retained in the trash-can if the "preserveTrash" preference is set, otherwise they are purged immediately' translated.
  !