Code

Fix emphasized gridlines bug when zoomed out.
authorjohanengelen <johanengelen@users.sourceforge.net>
Fri, 20 Apr 2007 14:39:49 +0000 (14:39 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Fri, 20 Apr 2007 14:39:49 +0000 (14:39 +0000)
src/display/canvas-grid.cpp

index c0e17e386240f6251988867e2371052d39e571e9..ddc0c772384287aa1b0523cce5fdd7c0c3df3451 100644 (file)
@@ -549,7 +549,7 @@ CanvasXYGrid::Update (NR::Matrix const &affine, unsigned int flags)
     sw -= NR::Point(affine[4], affine[5]);
 
     for(int dim = 0; dim < 2; dim++) {
-        gint scaling_factor = 5; //empspacing;
+        gint scaling_factor = empspacing;
 
         if (scaling_factor <= 1)
             scaling_factor = 5;