Remove 3 & 3.5 zoom levels.
This commit is contained in:
parent
8e6609cb39
commit
cd8320b57b
1 changed files with 2 additions and 2 deletions
|
@ -764,10 +764,10 @@ void convertOldLevel2Tlv(const TFilePath &source, const TFilePath &dest,
|
|||
|
||||
//=============================================================================
|
||||
|
||||
#define ZOOMLEVELS 19
|
||||
#define ZOOMLEVELS 17
|
||||
#define NOZOOMINDEX 6
|
||||
double ZoomFactors[ZOOMLEVELS] = {
|
||||
0.015625, 0.03125, 0.0625, 0.125, 0.25, 0.375, 0.5, 0.625, 1, 1.5, 2, 2.5, 3, 3.5, 4, 8, 16, 32, 64};
|
||||
0.015625, 0.03125, 0.0625, 0.125, 0.25, 0.375, 0.5, 0.625, 1, 1.5, 2, 2.5, 4, 8, 16, 32, 64};
|
||||
|
||||
double getQuantizedZoomFactor(double zf, bool forward) {
|
||||
if (forward && (zf > ZoomFactors[ZOOMLEVELS - 1] ||
|
||||
|
|
Loading…
Reference in a new issue