clip only when animating

This commit is contained in:
Marco Martin 2012-08-08 15:02:18 +02:00
parent 1cbd32e9f9
commit fefa42c951

View File

@ -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)