diff base/ZoomConstraint.h @ 1105:a27b1ce86e4f 3.0-integration

Merge from branch simple-fft-model
author Chris Cannam
date Fri, 26 Jun 2015 14:07:25 +0100
parents 12f3b48668d4
children d4a28d1479a8 48e9f538e6e9
line wrap: on
line diff
--- a/base/ZoomConstraint.h	Fri Jun 12 12:41:19 2015 +0100
+++ b/base/ZoomConstraint.h	Fri Jun 26 14:07:25 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