* 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:
@@ -491,7 +491,7 @@ ShowImageView::SetStretchToBounds(bool enable)
|
||||
if (fStretchToBounds != enable) {
|
||||
_SettingsSetBool("StretchToBounds", enable);
|
||||
fStretchToBounds = enable;
|
||||
if (enable)
|
||||
if (enable || fZoom > 1.0)
|
||||
FitToBounds();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user