unnecessary handling of monochrome fillings removed

This commit is contained in:
Uwe Rathmann 2024-09-23 16:09:23 +02:00
parent b69f84e865
commit 132183e304

View File

@ -128,15 +128,7 @@ void QskBoxRectangleNode::updateFilling( const QRectF& rect,
}
else
{
if ( fillGradient.isMonochrome() )
{
if ( dirtyMaterial )
setColoring( fillGradient.rgbStart() );
}
else
{
setColoring( rect, fillGradient );
}
setColoring( rect, fillGradient );
if ( dirtyGeometry )
{