summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f6c2660)
raw | patch | inline | side by side (parent: f6c2660)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 5 Sep 2008 19:46:46 +0000 (19:46 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 5 Sep 2008 19:46:46 +0000 (19:46 +0000) |
src/display/canvas-grid.cpp | patch | blob | history |
index 84e8bfbf9d163649261244dd519462b6d909d333..47cff6d444cf161c594d54524d107f8148258fec 100644 (file)
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