[squeak-dev] [ANN] Squeak 5.2 RC1 now available

Stéphane Rollandin lecteur at zogotounga.net
Fri Oct 12 13:48:08 UTC 2018


Hello,

I found a little bug, which notably makes system windows not able to 
have both rounded corners and a gradient look.

It is in method Canvas>>#frameAndFillRoundRect:radius:fillStyle:borderStyle:

The #asColor call there should be removed: we need to give the full fill 
style.

Fix is attached.


Stef
-------------- next part --------------
'From Squeak5.1 of 23 August 2016 [latest update: #16548] on 12 October 2018 at 3:47:13 pm'!

!Canvas methodsFor: 'drawing-rectangles' stamp: 'spfa 10/12/2018 15:46'!
frameAndFillRoundRect: aRectangle radius: cornerRadius fillStyle: fillStyle borderStyle: borderStyle

	self
		frameAndFillRoundRect: aRectangle
		radius: cornerRadius
		fillStyle: fillStyle
		borderWidth: borderStyle width
		borderColor: borderStyle color.! !


More information about the Squeak-dev mailing list