The Trunk: MorphicExtras-ul.266.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-ul.266.mcz

commits-2
Levente Uzonyi uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-ul.266.mcz

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

Name: MorphicExtras-ul.266
Author: ul
Time: 1 October 2019, 12:52:37.116899 pm
UUID: 8e1fa37a-7f02-4792-b0c0-fe14c74b2400
Ancestors: MorphicExtras-mt.265

- use #ofSize: instead of #new:withAll: to create OrderedCollections with a predefined size filled up with nils

=============== Diff against MorphicExtras-mt.265 ===============

Item was changed:
  ----- Method: ScrollingToolHolder>>buildAPrototypeFor: (in category 'initialize-release') -----
  buildAPrototypeFor: aPaintBoxMorph
  pickupButtons := (aPaintBoxMorph submorphNamed: 'stamps') submorphs select: [:e | e externalName = 'pickup:'].
  stampButtons := (aPaintBoxMorph submorphNamed: 'stamps') submorphs select: [:e | e externalName = 'stamp:'].
+ stamps := OrderedCollection ofSize: 3.
+ thumbnailPics := OrderedCollection ofSize: 3.
- stamps := OrderedCollection new: 3 withAll: nil.
- thumbnailPics := OrderedCollection new: 3 withAll: nil.
  start := 3.!