fix: zoom out and then reset scale will display a mosaic image
This commit is contained in:
1 parent
3f9fa65edd
commit
7a0ed5bd56
1 file changed
+1
@@ -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