monochrome gradients are rendered vertically
This commit is contained in:
parent
d9eacd9eb3
commit
fba8b97a74
@ -552,7 +552,7 @@ void QskBoxRenderer::renderRect( const QRectF& rect,
|
|||||||
{
|
{
|
||||||
fillLineCount = gradient.stepCount() + 1;
|
fillLineCount = gradient.stepCount() + 1;
|
||||||
|
|
||||||
if ( gradient.linearDirection().isTilted() )
|
if ( !gradient.isMonochrome() && gradient.linearDirection().isTilted() )
|
||||||
{
|
{
|
||||||
// extra lines for the corners
|
// extra lines for the corners
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user