use Size instead of Scale animation
BUG: 310945 FIXED-IN: 4.10 REVIEW: 108650
This commit is contained in:
parent
22f5769e74
commit
e128d5ad26
1 changed files with 5 additions and 5 deletions
|
@ -35,14 +35,14 @@ var maximizeEffect = {
|
|||
window: window,
|
||||
duration: maximizeEffect.duration,
|
||||
animations: [{
|
||||
type: Effect.Scale,
|
||||
type: Effect.Size,
|
||||
to: {
|
||||
value1: 1.0,
|
||||
value2: 1.0
|
||||
value1: newGeometry.width,
|
||||
value2: newGeometry.height
|
||||
},
|
||||
from: {
|
||||
value1: oldGeometry.width / newGeometry.width,
|
||||
value2: oldGeometry.height / newGeometry.height
|
||||
value1: oldGeometry.width,
|
||||
value2: oldGeometry.height
|
||||
}
|
||||
}, {
|
||||
type: Effect.Translation,
|
||||
|
|
Loading…
Reference in a new issue