compare operation for conic gradients fixed
This commit is contained in:
parent
785cb33739
commit
1197a5983c
|
@ -555,8 +555,8 @@ namespace
|
|||
const auto mat = static_cast< const ConicMaterial* >( other );
|
||||
|
||||
if ( ( m_center != mat->m_center )
|
||||
|| qskFuzzyCompare( m_start, mat->m_start )
|
||||
|| qskFuzzyCompare( m_span, mat->m_span ) )
|
||||
|| !qskFuzzyCompare( m_start, mat->m_start )
|
||||
|| !qskFuzzyCompare( m_span, mat->m_span ) )
|
||||
{
|
||||
return QSGMaterial::compare( other );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue