fix: zoom out and then reset scale will display a mosaic image
This commit is contained in:
@ -162,6 +162,7 @@ void GraphicsView::flipView(bool horizontal)
|
|||||||
void GraphicsView::resetScale()
|
void GraphicsView::resetScale()
|
||||||
{
|
{
|
||||||
setTransform(resetScale(transform()));
|
setTransform(resetScale(transform()));
|
||||||
|
applyTransformationModeByScaleFactor();
|
||||||
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform());
|
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user