From a982367a7509a1d86af36bc59660deeef0f411f8 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Tue, 23 Feb 2016 19:13:45 +0100 Subject: [PATCH] Morphingpopups: Don't skip small steps Resize may happen in smaller steps, so we should not skip them. REVIEW: 127137 --- effects/morphingpopups/package/contents/code/morphingpopups.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/effects/morphingpopups/package/contents/code/morphingpopups.js b/effects/morphingpopups/package/contents/code/morphingpopups.js index ce6ad862a3..100eaab19c 100644 --- a/effects/morphingpopups/package/contents/code/morphingpopups.js +++ b/effects/morphingpopups/package/contents/code/morphingpopups.js @@ -46,9 +46,6 @@ var morphingEffect = { if (distance > (newGeometry.width + newGeometry.height) * 2) { return; - //Also don't animate very small steps - } else if (distance < 10) { - return; } //don't resize it "too much", set as four times