[Pkg] The Trunk: Morphic-mt.754.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jan 19 14:05:28 UTC 2015


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.754.mcz

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

Name: Morphic-mt.754
Author: mt
Time: 19 January 2015, 3:04:57.121 pm
UUID: 21cf3f17-77dd-814b-bbad-01dd7abefa09
Ancestors: Morphic-bf.753

Fixed conversion of StringMorph as #imageForm when text color was white.

=============== Diff against Morphic-bf.753 ===============

Item was changed:
  ----- Method: StringMorph>>imageForm:forRectangle: (in category 'drawing') -----
  imageForm: depth forRectangle: rect
  	| canvas |
  	canvas := Display defaultCanvasClass extent: rect extent depth: depth.
+ 	canvas form fillColor: self color negated. 
- 	canvas form fillColor: Color white. 
  	canvas translateBy: rect topLeft negated
  		during:[:tempCanvas| tempCanvas fullDrawMorph: self].
  	^ canvas form offset: rect topLeft!



More information about the Packages mailing list