[squeak-dev] The Inbox: EToys-jl.225.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 31 15:16:34 UTC 2016


A new version of EToys was added to project The Inbox:
http://source.squeak.org/inbox/EToys-jl.225.mcz

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

Name: EToys-jl.225
Author: jl
Time: 31 August 2016, 5:15:35.387953 pm
UUID: 62eab146-2959-e04e-aff7-ac043a243fc1
Ancestors: EToys-jl.224

added nil check when changing dimensions

=============== Diff against EToys-jl.224 ===============

Item was changed:
  ----- Method: KedamaMorph>>dimensions: (in category 'accessing') -----
  dimensions: anExtent
  	dimensions := anExtent.
  	wrapX := dimensions x asFloat.
  	wrapY := dimensions y asFloat.
  	patchVarDisplayForm := Form extent: dimensions depth: 32.
+ 	patchesToDisplay ifNotNil: [
+ 		patchesToDisplay do: [ :ea |
+ 			ea newExtent: anExtent.
+ 		].
- 	patchesToDisplay do: [ :ea |
- 		ea newExtent: anExtent.
  	].
  	self pixelsPerPatch: self pixelsPerPatch.!



More information about the Squeak-dev mailing list