The Inbox: EToys-jl.225.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: EToys-jl.225.mcz

commits-2
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.!