Morphingpopups: Don't skip small steps
Resize may happen in smaller steps, so we should not skip them. REVIEW: 127137
This commit is contained in:
parent
5b945d2b1c
commit
a982367a75
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue