From fefa42c9518033f2f21234f329e0a3444a85affa Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 8 Aug 2012 15:02:18 +0200 Subject: [PATCH] clip only when animating --- declarativeimports/plasmaextracomponents/qml/PageRow.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/declarativeimports/plasmaextracomponents/qml/PageRow.qml b/declarativeimports/plasmaextracomponents/qml/PageRow.qml index 71202b6ea..8b805b51e 100644 --- a/declarativeimports/plasmaextracomponents/qml/PageRow.qml +++ b/declarativeimports/plasmaextracomponents/qml/PageRow.qml @@ -267,7 +267,6 @@ Item { transitionEnded(); } - clip: true Item { id: actualContainer @@ -365,6 +364,7 @@ Item { // Called when a transition has started. function transitionStarted() { + container.clip = true transitionAnimationRunning = true; internal.ongoingTransitionCount++; if (actualRoot.visible) { @@ -375,6 +375,7 @@ Item { // Called when a transition has ended. function transitionEnded() { + container.clip = false if (state != "") state = "Hidden"; if (actualRoot.visible)