# HG changeset patch # User Chris Cannam # Date 1434393150 -3600 # Node ID 12f3b48668d4baddf566612beef3e359e8e71db8 # Parent cd156ede1395a7d6bc88d390c6651aab87dda3c1 Raise this maximum, so longer files can be shown in the overview pane diff -r cd156ede1395 -r 12f3b48668d4 base/ZoomConstraint.h --- 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