Revert attempt to fix stretch-to-window.

Turns out the option shouldn't do what I need. Let's add another option.
This commit is contained in:
Adrien Destugues 2014-04-28 21:25:52 +02:00
parent 711ffc4580
commit 9494b43adc

View File

@ -1630,7 +1630,7 @@ ShowImageView::FitToBounds()
return;
float fitToBoundsZoom = _FitToBoundsZoom();
if (!fStretchToBounds || fitToBoundsZoom > 1.0f)
if (!fStretchToBounds && fitToBoundsZoom > 1.0f)
SetZoom(1.0f);
else
SetZoom(fitToBoundsZoom);