fix: zoom out and then reset scale will display a mosaic image
This commit is contained in:
parent
3f9fa65edd
commit
7a0ed5bd56
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user