The Trunk: SmallLand-ColorTheme-nice.4.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: SmallLand-ColorTheme-nice.4.mcz

commits-2
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!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: SmallLand-ColorTheme-nice.4.mcz

Nicolas Cellier
Ah, I should have removed asString...


2013/12/25 <[hidden email]>
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!