always inserting the connecting line between border and filling, when
using different strokers
This commit is contained in:
parent
126c276eac
commit
f89ab863f6
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user