using QskGradient::firstColor

This commit is contained in:
Uwe Rathmann 2022-12-04 19:53:25 +01:00
parent 7eecc63571
commit 38cbefac78

View File

@ -165,7 +165,7 @@ void QskShapeNode::updateNode( const QPainterPath& path,
if ( gradient.isMonochrome() )
{
updateNode( path, transform, gradient.stops().first().color() );
updateNode( path, transform, gradient.startColor() );
return;
}