compare operation for conic gradients fixed

This commit is contained in:
Uwe Rathmann 2023-04-17 17:28:06 +02:00
parent 785cb33739
commit 1197a5983c
1 changed files with 2 additions and 2 deletions

View File

@ -555,8 +555,8 @@ namespace
const auto mat = static_cast< const ConicMaterial* >( other ); const auto mat = static_cast< const ConicMaterial* >( other );
if ( ( m_center != mat->m_center ) if ( ( m_center != mat->m_center )
|| qskFuzzyCompare( m_start, mat->m_start ) || !qskFuzzyCompare( m_start, mat->m_start )
|| qskFuzzyCompare( m_span, mat->m_span ) ) || !qskFuzzyCompare( m_span, mat->m_span ) )
{ {
return QSGMaterial::compare( other ); return QSGMaterial::compare( other );
} }