diff base/ZoomConstraint.h @ 1102:12f3b48668d4 simple-fft-model

Raise this maximum, so longer files can be shown in the overview pane
author Chris Cannam
date Mon, 15 Jun 2015 19:32:30 +0100
parents 6a94bb528e9d
children d4a28d1479a8 48e9f538e6e9
line wrap: on
line diff
--- a/base/ZoomConstraint.h	Mon Jun 15 19:01:44 2015 +0100
+++ b/base/ZoomConstraint.h	Mon Jun 15 19:32:30 2015 +0100
@@ -58,8 +58,11 @@
 
     /**
      * Return the maximum zoom level within range for this constraint.
+     * This is quite large -- individual views will probably want to
+     * limit how far a user might reasonably zoom out based on other
+     * factors such as the duration of the file.
      */
-    virtual int getMaxZoomLevel() const { return 262144; }
+    virtual int getMaxZoomLevel() const { return 4194304; } // 2^22, arbitrarily
 };
 
 #endif