Commit ded9ad74 authored by Thomas Lübking's avatar Thomas Lübking
Browse files

use Size instead of Scale animation

BUG: 310945
parent 00a71b44
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment