From f89ab863f6156d97c09942b11ea1fa2c354cbcd4 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 14 Feb 2023 13:44:52 +0100 Subject: [PATCH] always inserting the connecting line between border and filling, when using different strokers --- src/nodes/QskBoxRenderer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nodes/QskBoxRenderer.cpp b/src/nodes/QskBoxRenderer.cpp index ce5083aa..186479eb 100644 --- a/src/nodes/QskBoxRenderer.cpp +++ b/src/nodes/QskBoxRenderer.cpp @@ -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 );