diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/canvas-grid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/canvas-grid.cpp b/src/display/canvas-grid.cpp index 84e8bfbf9..47cff6d44 100644 --- a/src/display/canvas-grid.cpp +++ b/src/display/canvas-grid.cpp @@ -964,7 +964,7 @@ CanvasXYGridSnapper::_getSnapLines(Geom::Point const &p) const for (unsigned int i = 0; i < 2; ++i) { /* This is to make sure we snap to only visible grid lines */ - double scaled_spacing = grid->sw[i]; // this is spacing of visible lines if screen pixels + double scaled_spacing = grid->sw[i]; // this is spacing of visible lines in screen pixels // convert screen pixels to px // FIXME: after we switch to snapping dist in screen pixels, this will be unnecessary |
