[squeak-dev] The Trunk: Graphics-ul.369.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Feb 27 01:11:53 UTC 2017
Levente Uzonyi uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-ul.369.mcz
==================== Summary ====================
Name: Graphics-ul.369
Author: ul
Time: 27 February 2017, 2:11:11.506532 am
UUID: 87cd9b87-4712-42c0-8aac-0c1095700248
Ancestors: Graphics-bf.368
- omit ifAbsent from #index* sends when the default value, 0 would used
=============== Diff against Graphics-bf.368 ===============
Item was changed:
----- Method: ColorForm>>indexOfColor: (in category 'color manipulation') -----
indexOfColor: aColor
"Return the index of aColor in my color array"
self ensureColorArrayExists.
+ ^ colors indexOf: aColor!
- ^ colors indexOf: aColor ifAbsent: [0]!
More information about the Squeak-dev
mailing list
|