make the animate property do something
BUG:332884 CCBUG:332869
This commit is contained in:
parent
1a65efb619
commit
2f10450c17
@ -123,7 +123,7 @@ Item {
|
||||
*/
|
||||
function push(page, properties, immediate)
|
||||
{
|
||||
return Engine.push(page, properties, false, immediate);
|
||||
return Engine.push(page, properties, false, !root.animate || immediate);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -137,7 +137,7 @@ Item {
|
||||
*/
|
||||
function pop(page, immediate)
|
||||
{
|
||||
return Engine.pop(page, immediate);
|
||||
return Engine.pop(page, !root.animate || immediate);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -157,7 +157,7 @@ Item {
|
||||
*/
|
||||
function replace(page, properties, immediate)
|
||||
{
|
||||
return Engine.push(page, properties, true, immediate);
|
||||
return Engine.push(page, properties, true, !root.animate || immediate);
|
||||
}
|
||||
|
||||
/** Clears the page stack of all pages. */
|
||||
|
Loading…
Reference in New Issue
Block a user