clip only when animating
This commit is contained in:
parent
1cbd32e9f9
commit
fefa42c951
@ -267,7 +267,6 @@ Item {
|
|||||||
transitionEnded();
|
transitionEnded();
|
||||||
}
|
}
|
||||||
|
|
||||||
clip: true
|
|
||||||
Item {
|
Item {
|
||||||
id: actualContainer
|
id: actualContainer
|
||||||
|
|
||||||
@ -365,6 +364,7 @@ Item {
|
|||||||
// Called when a transition has started.
|
// Called when a transition has started.
|
||||||
function transitionStarted()
|
function transitionStarted()
|
||||||
{
|
{
|
||||||
|
container.clip = true
|
||||||
transitionAnimationRunning = true;
|
transitionAnimationRunning = true;
|
||||||
internal.ongoingTransitionCount++;
|
internal.ongoingTransitionCount++;
|
||||||
if (actualRoot.visible) {
|
if (actualRoot.visible) {
|
||||||
@ -375,6 +375,7 @@ Item {
|
|||||||
// Called when a transition has ended.
|
// Called when a transition has ended.
|
||||||
function transitionEnded()
|
function transitionEnded()
|
||||||
{
|
{
|
||||||
|
container.clip = false
|
||||||
if (state != "")
|
if (state != "")
|
||||||
state = "Hidden";
|
state = "Hidden";
|
||||||
if (actualRoot.visible)
|
if (actualRoot.visible)
|
||||||
|
Loading…
Reference in New Issue
Block a user