removed the option to disable the extended zoom levels from the preferences

This commit is contained in:
Alberto Griggio
2017-03-23 22:08:56 +01:00
parent 2f9df50be3
commit f1fafebaf1
5 changed files with 3 additions and 21 deletions

View File

@@ -103,9 +103,7 @@ void CropWindow::initZoomSteps()
float z = 10./float(s);
sprintf(lbl, "% 2d%%", int(z * 100));
bool is_major = (s == s/10 * 10);
if (is_major || options.extendedZoomLevelsForFit) {
zoomSteps.push_back(ZoomStep(lbl, z, s, is_major));
}
zoomSteps.push_back(ZoomStep(lbl, z, s, is_major));
}
zoom11index = zoomSteps.size();
for (int s = 1; s <= 8; ++s) {