From a2ac8dab0c0c80e1839f5f8b632d3e51e8def2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 28 Jan 2013 22:19:40 +0100 Subject: [PATCH] use Size instead of Scale animation BUG: 310945 --- effects/maximize/package/contents/code/maximize.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/effects/maximize/package/contents/code/maximize.js b/effects/maximize/package/contents/code/maximize.js index 744021b8cd..5013c84a32 100644 --- a/effects/maximize/package/contents/code/maximize.js +++ b/effects/maximize/package/contents/code/maximize.js @@ -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,