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

Decrease the size of RemoveGutter decorations

Agata Cackofdb7c490829a
diff --git a/plugins/tools/tool_knife/RemoveGutterStrategy.cpp b/plugins/tools/tool_knife/RemoveGutterStrategy.cpp
index beef2cc15f..46ef8a5292 100644
--- a/plugins/tools/tool_knife/RemoveGutterStrategy.cpp
+++ b/plugins/tools/tool_knife/RemoveGutterStrategy.cpp
@@ -367,8 +367,8 @@ void RemoveGutterStrategy::paint(QPainter &painter, const KoViewConverter &conve
if (line.length() > 0) {
QPointF vector = line.p2() - line.p1();
vector = vector/line.length();
- int arrowLength = 20;
- int arrowThickness = 10;
+ int arrowLength = 15;
+ int arrowThickness = 5;
QPointF before = line.p1() - vector*arrowLength;
QPointF after = line.p2() + vector*arrowLength;