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

commits at source.squeak.org commits at source.squeak.org
Thu Sep 17 11:05:51 UTC 2020


A new version of Graphics was added to project The Inbox:
http://source.squeak.org/inbox/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