[squeak-dev] The Trunk: MorphicExtras-mt.341.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jan 16 10:20:40 UTC 2023


Marcel Taeumel uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-mt.341.mcz

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

Name: MorphicExtras-mt.341
Author: mt
Time: 16 January 2023, 11:20:39.764631 am
UUID: 5a08a211-b3e5-5240-b07c-de3fd30bc51a
Ancestors: MorphicExtras-tpr.340

Remove some more variable shadowing

=============== Diff against MorphicExtras-tpr.340 ===============

Item was changed:
  ----- Method: ScorePlayerMorph class>>extraExample (in category '*MorphicExtras-examples') -----
  extraExample
  	"ScorePlayerMorph extraExample openInHand"
  
  	| scorePlayerMorph |
  	scorePlayerMorph := self on: MIDIScore extraExample.
  	#('organ1' 'oboe1' 'brass1' 'oboe1' 'oboe2' 'bass1' 'bassoon1' 'bass1' 'pluckedElecBass' 'bass1')
+ 		withIndexDo: [:instrumentName :instrumentIndex |
+ 			scorePlayerMorph atTrack: instrumentIndex selectInstrument: instrumentName].
- 		withIndexDo: [:name :index |
- 			scorePlayerMorph atTrack: index selectInstrument: name].
  	^ scorePlayerMorph!



More information about the Squeak-dev mailing list