[squeak-dev] The Trunk: SmallLand-ColorTheme-nice.4.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 25 22:24:11 UTC 2013


Nicolas Cellier uploaded a new version of SmallLand-ColorTheme to project The Trunk:
http://source.squeak.org/trunk/SmallLand-ColorTheme-nice.4.mcz

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

Name: SmallLand-ColorTheme-nice.4
Author: nice
Time: 25 December 2013, 11:23:59.635 pm
UUID: 77bff137-008b-4390-a5cb-1f284354de48
Ancestors: SmallLand-ColorTheme-fbs.3

Change a few print:(aFloat roundTo: 0.01) into nextPutAll:(aFloat printShowingMaxDecimalPlaces: 2)

=============== Diff against SmallLand-ColorTheme-fbs.3 ===============

Item was changed:
  ----- Method: SmallLandColorTheme>>labelForColor: (in category 'private - colors') -----
  labelForColor: aColor 
+ 	^ (aColor red printShowingMaxDecimalPlaces: 2) asString , ' ' , (aColor green printShowingMaxDecimalPlaces: 2) asString , ' ' , (aColor blue printShowingMaxDecimalPlaces: 2) asString!
- 	^ (aColor red roundTo: 0.01) asString , ' ' , (aColor green roundTo: 0.01) asString , ' ' , (aColor blue roundTo: 0.01) asString!



More information about the Squeak-dev mailing list