From bf6f5f74dc07540f7a6515c2d8def94cf3ecc40b Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 25 Apr 2018 18:08:03 +0200 Subject: [PATCH] QtQuick: Don't reset zoom when scrollbars appear --- mobile/components/DocumentView.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/components/DocumentView.qml b/mobile/components/DocumentView.qml index 5bd376954..6a8261c1d 100644 --- a/mobile/components/DocumentView.qml +++ b/mobile/components/DocumentView.qml @@ -91,6 +91,7 @@ QtControls.ScrollView { flick.resizeContent(Math.max(flick.width+1, initialWidth * mouseArea.scale), Math.max(flick.height, initialHeight * mouseArea.scale), pinch.center); mouseArea.scale = 1; + resizeTimer.stop() flick.returnToBounds(); } MouseArea {