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++

Type setting mode: fix cursor detection.

Wolthera van Hövell tot Westerflier2be96ab892a5
diff --git a/plugins/tools/svgtexttool/SvgTextTool.cpp b/plugins/tools/svgtexttool/SvgTextTool.cpp
index f433113df4..a3bd24a135 100644
--- a/plugins/tools/svgtexttool/SvgTextTool.cpp
+++ b/plugins/tools/svgtexttool/SvgTextTool.cpp
@@ -967,7 +967,7 @@ void SvgTextTool::mouseMoveEvent(KoPointerEvent *event)
} else {
cursor = m_ibeam_vertical;
}
- } else if (hoveredShape) {
+ } else if (hoveredShape && m_highlightItem == HighlightItem::None) {
if (!hoveredShape->textWrappingAreas().isEmpty()) {
Q_FOREACH(QPainterPath path, hoveredShape->textWrappingAreas()) {
m_hoveredShapeHighlightRect.addPath(hoveredShape->absoluteTransformation().map(path));