Code

Set default gridspacing back to 1px
authorjohanengelen <johanengelen@users.sourceforge.net>
Thu, 19 Apr 2007 22:26:27 +0000 (22:26 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Thu, 19 Apr 2007 22:26:27 +0000 (22:26 +0000)
src/display/canvas-grid.cpp

index 519ef98fb03879617f690e0e7c9d8e797ead8a06..c0e17e386240f6251988867e2371052d39e571e9 100644 (file)
@@ -300,7 +300,7 @@ CanvasXYGrid::CanvasXYGrid (SPNamedView * nv, Inkscape::XML::Node * in_repr)
     color = DEFAULTGRIDCOLOR;
     empcolor = DEFAULTGRIDEMPCOLOR;
     empspacing = 5;
-    spacing[NR::X] = spacing[NR::Y] = 8.0;
+    spacing[NR::X] = spacing[NR::Y] = 1.0;
     gridunit = &sp_unit_get_by_id(SP_UNIT_PX);
     render_dotted = false;