j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
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]!
squeak-dev@lists.squeakfoundation.org