[squeak-dev] The Trunk: Graphics-ct.439.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Dec 27 21:00:41 UTC 2020


Nicolas Cellier uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-ct.439.mcz

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

Name: Graphics-ct.439
Author: ct
Time: 17 September 2020, 1:05:42.958813 pm
UUID: 523992a5-7677-d14c-a4b1-e2a676e92c6b
Ancestors: Graphics-tonyg.438

Fixes transparency handling in Color >> #negated. Negating a color should not remove its alpha channel.

=============== Diff against Graphics-tonyg.438 ===============

Item was changed:
  ----- Method: Color>>negated (in category 'transformations') -----
  negated
  	"Return an RGB inverted color"
  	^Color
  		r: 1.0 - self red
  		g: 1.0 - self green
+ 		b: 1.0 - self blue
+ 		alpha: self alpha!
- 		b: 1.0 - self blue!



More information about the Squeak-dev mailing list