Mercurial > hg > svcore
changeset 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 | cd156ede1395 |
children | e86a7ea3dc38 bead35921256 |
files | base/ZoomConstraint.h |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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