comparison base/ZoomConstraint.h @ 1543:1f72a44f5638 zoom

More sensible limit
author Chris Cannam
date Fri, 28 Sep 2018 18:08:00 +0100
parents 5360f7aba189
children 05c3fbaec8ea
comparison
equal deleted inserted replaced
1542:6415ac3becb6 1543:1f72a44f5638
63 * Individual views will probably want to limit this, for example 63 * Individual views will probably want to limit this, for example
64 * in order to ensure that at least one or two samples fit in the 64 * in order to ensure that at least one or two samples fit in the
65 * current window size, or in order to save on interpolation cost. 65 * current window size, or in order to save on interpolation cost.
66 */ 66 */
67 virtual ZoomLevel getMinZoomLevel() const { 67 virtual ZoomLevel getMinZoomLevel() const {
68 return { ZoomLevel::PixelsPerFrame, 16384 }; 68 return { ZoomLevel::PixelsPerFrame, 512 };
69 } 69 }
70 70
71 /** 71 /**
72 * Return the maximum zoom level within range for this constraint. 72 * Return the maximum zoom level within range for this constraint.
73 * This is quite large -- individual views will probably want to 73 * This is quite large -- individual views will probably want to