always inserting the connecting line between border and filling, when

using different strokers
This commit is contained in:
Uwe Rathmann 2023-02-14 13:44:52 +01:00
parent 126c276eac
commit f89ab863f6

View File

@ -193,8 +193,7 @@ void QskBox::renderBox( const QRectF& rect,
const int fillCount = fillStroker.lineCount();
const int borderCount = borderStroker.borderCount();
const int extraLine = ( fillCount && borderCount && !metrics.isOutsideRounded ) ? 1 : 0;
const int extraLine = ( fillCount && borderCount ) ? 1 : 0;
auto lines = qskAllocateColoredLines(
geometry, fillCount + borderCount + extraLine );