commit | 2b74c8caa741aee4d4918912898b018abf987001 | [log] [tgz] |
---|---|---|
author | Isabelle Taylor <taylori@google.com> | Thu Sep 12 17:35:43 2019 +0100 |
committer | Isabelle Taylor <taylori@google.com> | Thu Sep 12 17:35:43 2019 +0100 |
tree | d4a49ac78c14519ab09b214f446ccb89481da736 | |
parent | 2b6c52bb82a0ebcfe20322a46b55f6bd5b8cdb26 [diff] |
perfetto-ui: Stop drawing behind scrollbar Previously the trace was drawn behind the scrollbar, so the end of the trace was never visible. Now we calculate the width of the scrollbar and subtract it from the canvas width. This means we can still have the advantage of using all screen real estate when the scrollbar is overlayed (and has width of 0). Change-Id: Ie0e2af7cfd9e13bb973d6a04536fb570cb89337c
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.