From 7a0ed5bd56f0469b4d983bed8ef6f15dddbd11c8 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Mon, 28 Jun 2021 19:10:08 +0800 Subject: [PATCH] fix: zoom out and then reset scale will display a mosaic image --- app/graphicsview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/graphicsview.cpp b/app/graphicsview.cpp index 932d7ea..1573014 100644 --- a/app/graphicsview.cpp +++ b/app/graphicsview.cpp @@ -162,6 +162,7 @@ void GraphicsView::flipView(bool horizontal) void GraphicsView::resetScale() { setTransform(resetScale(transform())); + applyTransformationModeByScaleFactor(); emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform()); }