[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdegraphics/kolourpaint
From:       Clarence Dang <dang () kde ! org>
Date:       2007-05-12 11:51:36
Message-ID: 1178970696.888854.25545.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 663822 by dang:

   * Change minimum allowed zoom level for the grid from 600% to 400%

Years ago, people on kde-apps.org thought that the zoom did not work since
they were expecting it at 400%.


 M  +2 -0      NEWS  
 M  +3 -3      kpview.cpp  


--- branches/KDE/3.5/kdegraphics/kolourpaint/NEWS #663821:663822
@@ -18,6 +18,8 @@
    * CTRL+C'ing a text box also places the text in the middle-mouse-button
      clipboard, in lieu of being able to highlight the text to do this
 
+   * Change minimum allowed zoom level for the grid from 600% to 400%
+
 KolourPaint 1.4.6_relight (Frozen 2007-01-13)
 
    * Fix crash triggered by rapidly deselecting the selection after
--- branches/KDE/3.5/kdegraphics/kolourpaint/kpview.cpp #663821:663822
@@ -250,10 +250,10 @@
 // public
 bool kpView::canShowGrid () const
 {
-    // (minimum zoom level < 600% would probably be reported as a bug by
+    // (minimum zoom level < 400% would probably be reported as a bug by
     //  users who thought that the grid was a part of the image!)
-    return ((zoomLevelX () >= 600 && zoomLevelX () % 100 == 0) &&
-            (zoomLevelY () >= 600 && zoomLevelY () % 100 == 0));
+    return ((zoomLevelX () >= 400 && zoomLevelX () % 100 == 0) &&
+            (zoomLevelY () >= 400 && zoomLevelY () % 100 == 0));
 }
 
 // public
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic