The Trunk: MorphicExtras-cmm.88.mcz

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

The Trunk: MorphicExtras-cmm.88.mcz

commits-2
Chris Muller uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-cmm.88.mcz

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

Name: MorphicExtras-cmm.88
Author: cmm
Time: 21 June 2010, 3:01:48.078 pm
UUID: 5a1d954c-1d49-45ee-922a-39fb75b5fb81
Ancestors: MorphicExtras-bf.87

Protect from restoring color to nil when using PostscriptCanvas for the first time.

=============== Diff against MorphicExtras-bf.87 ===============

Item was changed:
  ----- Method: PostscriptCanvas>>setColor: (in category 'private') -----
  setColor: color
+ (color notNil and: [ currentColor ~= color ]) ifTrue:
+ [ target write: color asColor.
+ currentColor := color ]!
-      currentColor ~= color ifTrue:[
-           target write:color asColor.
- currentColor := color.
- ].
- !