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

commits at source.squeak.org commits at source.squeak.org
Wed Aug 31 15:26:47 UTC 2016


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



More information about the Squeak-dev mailing list