The Inbox: EToys-jl.226.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.226.mcz

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

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

Name: EToys-jl.226
Author: jl
Time: 31 August 2016, 5:25:42.617953 pm
UUID: 133c249e-9ef8-d945-8680-72ba4917215c
Ancestors: EToys-jl.225

fixed comparing color in kedama

=============== Diff against EToys-jl.225 ===============

Item was changed:
  ----- Method: WordArray>>eToysEQ: (in category '*Etoys-Squeakland-array arithmetic') -----
  eToysEQ: other
 
  | result |
+
  result := ByteArray new: self size.
  other isNumber ifTrue: [
  ^ self primEQScalar: self and: other into: result.
  ].
  other isCollection ifTrue: [
  ^ self primEQArray: self and: other into: result.
  ].
+ other isColor ifTrue: [
+ ^ self primEQScalar: self and: (other pixelValueForDepth: 32) into: result.
+ ].
+
  ^ super = other.
  !