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

Tool/Freehand/TempLine: Adjusted cursor size.

Emmet O'Neill6f724ed432f7
diff --git a/libs/ui/tool/kis_tool_freehand.cc b/libs/ui/tool/kis_tool_freehand.cc
index 6e82d8950d..a1bbaaa73d 100644
--- a/libs/ui/tool/kis_tool_freehand.cc
+++ b/libs/ui/tool/kis_tool_freehand.cc
@@ -128,7 +128,10 @@ KisSmoothingOptionsSP KisToolFreehand::smoothingOptions() const
void KisToolFreehand::resetCursorStyle()
{
if (temporaryStraightRulerActive()) {
- useCursor(KisCursor::loadWithSize("cursor-cross-full.svg", 31, 31));
+ const int TEMP_RULER_CURSOR_SIZE = 32;
+ useCursor(KisCursor::loadWithSize("cursor-cross-full.svg",
+ TEMP_RULER_CURSOR_SIZE,
+ TEMP_RULER_CURSOR_SIZE));
return;
}