From d3e6bbe758dd55a1787b8aeb010df2b3aa5da6f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Ke=C3=9Fler?= Date: Sun, 12 Apr 2020 00:11:52 +0200 Subject: [PATCH] Decreased grid size --- src/control/tools/BaseStrokeHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/tools/BaseStrokeHandler.cpp b/src/control/tools/BaseStrokeHandler.cpp index 8b5c8fdb..2b4ba6cf 100644 --- a/src/control/tools/BaseStrokeHandler.cpp +++ b/src/control/tools/BaseStrokeHandler.cpp @@ -30,7 +30,7 @@ void BaseStrokeHandler::snapToGrid(double& x, double& y) { * If x/y coordinates are under a certain tolerance, * fix the point to the grid intersection value */ - double gridSize = 14.17 / 2.0; + double gridSize = 14.17 / 4.0; double t = xournal->getControl()->getSettings()->getSnapGridTolerance(); double tolerance = (gridSize / 2) - (1 / t);