[etoys-dev] Etoys: Morphic-kfr.10.mcz

commits at source.squeak.org commits at source.squeak.org
Sat May 29 07:56:08 EDT 2010


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

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

Name: Morphic-kfr.10
Author: kfr
Time: 29 May 2010, 1:55:12 pm
UUID: a1a5a906-5862-ce4a-ada0-d1029e2df2ed
Ancestors: Morphic-KR.9

Compute up/down arrow increments in NumberTiles from decimal places

=============== Diff against Morphic-KR.9 ===============

Item was changed:
  ----- Method: UpdatingStringMorph>>readFromTarget (in category 'target access') -----
  readFromTarget
  	"Update my readout from my target"
  
+ 	| v ret places |
- 	| v ret |
  	(target isNil or: [getSelector isNil]) ifTrue: [^contents].
  	ret _ self checkTarget.
  	ret ifFalse: [^ '0'].
+ 	places _ target decimalPlacesForGetter: getSelector.
+ 	(places ~= nil and: [ places ~= decimalPlaces ])  ifTrue: [ self decimalPlaces: places ].
  	v := target perform: getSelector.	"scriptPerformer"
  	(v isKindOf: Text) ifTrue: [v := v asString].
  	^self acceptValueFromTarget: v!



More information about the etoys-dev mailing list