[etoys-dev] Etoys: Etoys-kfr.8.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 13 13:16:36 EDT 2010


Karl Ramberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-kfr.8.mcz

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

Name: Etoys-kfr.8
Author: kfr
Time: 13 May 2010, 7:16:10 pm
UUID: fe27d303-8cf0-0841-92d5-ff4bcc50506a
Ancestors: Etoys-kfr.7

And fix TimesRow for PhraseTileMorph which we dont guard against less than zero value

=============== Diff against Etoys-kfr.7 ===============

Item was changed:
  ----- Method: TimesRow>>timesPad (in category 'accessing') -----
  timesPad
+ 	"Answer the TilePadMorph at the top of the tile
+ 	tree for the times part. Guard against repeating
+ 	less than 0 times"
+ 	| number |
+ 	((number := timesPad submorphs first) isKindOf: TileMorph)
+ 		ifTrue: [number literal < 0
+ 				ifTrue: [number literal: 0]].
- 	"Answer the TilePadMorph at the top of the tile tree for the times part.  Guard against repeating less than 0 times"
- 	timesPad submorphs first literal < 0
- 		ifTrue:[ timesPad submorphs first literal: 0].
  	^ timesPad!



More information about the etoys-dev mailing list