Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix textshape margin outline in HDR canvas.

Wolthera van Hövell tot Westerflier4ef88363753f
diff --git a/libs/flake/text/KoSvgTextShapeOutlineHelper.cpp b/libs/flake/text/KoSvgTextShapeOutlineHelper.cpp
index 7364832c67..aba3f4f529 100644
--- a/libs/flake/text/KoSvgTextShapeOutlineHelper.cpp
+++ b/libs/flake/text/KoSvgTextShapeOutlineHelper.cpp
@@ -127,7 +127,7 @@ void KoSvgTextShapeOutlineHelper::paintTextShape(QPainter *painter, const KoView
KisHandlePalette handlePalette = d->renderInterface()->handlePaletteForDisplayColorSpace();
KisHandlePainterHelper helper =
KoShape::createHandlePainterHelperView(painter, text, converter, d->handleRadius, d->decorationThickness);
- helper.setHandleStyle(KisHandleStyle::secondarySelection());
+ helper.setHandleStyle(KisHandleStyle::secondarySelection(handlePalette));
if (contourModeActive) {
if (d->drawOutline) {