* Also call FitToBounds() when you disable stretching, and the image is
currently zoomed in. This closes #6857. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39631 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e3ab8648d1
commit
876a4a3cae
|
@ -491,7 +491,7 @@ ShowImageView::SetStretchToBounds(bool enable)
|
|||
if (fStretchToBounds != enable) {
|
||||
_SettingsSetBool("StretchToBounds", enable);
|
||||
fStretchToBounds = enable;
|
||||
if (enable)
|
||||
if (enable || fZoom > 1.0)
|
||||
FitToBounds();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue