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:
parent
711ffc4580
commit
9494b43adc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user