wrong check fixed
This commit is contained in:
parent
da7e1f7ae4
commit
d2c5413daa
@ -81,8 +81,8 @@ bool QskBoxRenderer::isGradientSupported(
|
||||
|
||||
if ( dir.isTilted() )
|
||||
{
|
||||
return ( dir.x1() == 0.0 && dir.x2() == 0.0 )
|
||||
&& ( dir.y1() == 1.0 && dir.y2() == 1.0 );
|
||||
return ( dir.x1() == 0.0 ) && ( dir.x2() == 1.0 )
|
||||
&& ( dir.y1() == 0.0 ) && ( dir.y2() == 1.0 );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user