using QskGradient::isVisisble() instead of isValid()
This commit is contained in:
parent
8ba6085081
commit
f0c9548b4c
@ -526,7 +526,7 @@ void QskBoxRenderer::renderRect(
|
||||
const Quad in = qskValidOrEmptyInnerRect( rect, border.widths() );
|
||||
|
||||
int fillLineCount = 0;
|
||||
if ( gradient.isValid() && !in.isEmpty() )
|
||||
if ( gradient.isVisible() && !in.isEmpty() )
|
||||
{
|
||||
fillLineCount = gradient.stops().count();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user