Timeline for Hammer.js is slow and jerky on pinchin/pinchout
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 18, 2013 at 19:03 | comment | added | CoolTapes | I changed the whole logic to use css3 transform:scale instead of manually resizing, and now it's very fast. Thanks for the help | |
Oct 18, 2013 at 18:02 | comment | added | Simon Boudrias |
Edited with some more suggestions. For you, the next big step would be passing these animations inside requestAnimationFrame . Then optimizing CSS style for performance, and maybe trying to find styling alternative to updating font-size, max-width, etc as they are pretty costly on repainting and causes reflows.
|
|
Oct 18, 2013 at 18:01 | history | edited | Simon Boudrias | CC BY-SA 3.0 |
added 1127 characters in body
|
Oct 18, 2013 at 17:29 | comment | added | CoolTapes | Well, it's better. But still not smooth. | |
Oct 18, 2013 at 17:27 | comment | added | CoolTapes | This worked, and I learned something. I was not aware you could make multiple css changes in one statement. Thanks | |
Oct 18, 2013 at 17:26 | vote | accept | CoolTapes | ||
Oct 18, 2013 at 17:13 | history | answered | Simon Boudrias | CC BY-SA 3.0 |