using QskGradient::isVisisble() instead of isValid()

This commit is contained in:
Uwe Rathmann 2022-10-21 16:46:59 +02:00
parent 8ba6085081
commit f0c9548b4c

View File

@ -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();