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 else
{ {
if ( fillGradient.isMonochrome() ) setColoring( rect, fillGradient );
{
if ( dirtyMaterial )
setColoring( fillGradient.rgbStart() );
}
else
{
setColoring( rect, fillGradient );
}
if ( dirtyGeometry ) if ( dirtyGeometry )
{ {