commit | 301ba5df38014f19a5b3271308955952bd2ce3ea | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@google.com> | Fri Sep 27 17:50:49 2019 +0100 |
committer | Sami Kyostila <skyostil@google.com> | Fri Sep 27 16:52:59 2019 +0000 |
tree | d5883def8efcd8113e84c78bcb55c6c376ec16da | |
parent | 3b82bd374cc75f0af454c82c265e7a7f935d15cd [diff] |
perfetto-ui: Make panning and zooming snappier This patch adjusts the panning and zooming animations to make them more responsive, especially when the corresponding key is pressed multiple times in a row. The algorithm maintains a desired pan/zoom offset and uses a spring force to incrementally move the viewport toward that orientation. Change-Id: I1e2b2b3ffeb1db4a2c1bc3994ecd66b4e146c5c3
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.