Decreased grid size

presentation
Fabian Keßler 6 years ago
parent db352f4f86
commit d3e6bbe758
  1. 2
      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, * If x/y coordinates are under a certain tolerance,
* fix the point to the grid intersection value * 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 t = xournal->getControl()->getSettings()->getSnapGridTolerance();
double tolerance = (gridSize / 2) - (1 / t); double tolerance = (gridSize / 2) - (1 / t);

Loading…
Cancel
Save