commit | fbd04fba4c84bae9a4fbd4144c2f55682028b946 | [log] [tgz] |
---|---|---|
author | Steve Golton <stevegolton@google.com> | Thu Sep 05 10:29:44 2024 +0100 |
committer | Steve Golton <stevegolton@google.com> | Thu Sep 05 10:29:44 2024 +0100 |
tree | 1e8fa0c4efaca243b90dedfd024de3c4d3f18c2e | |
parent | 94c1ed8940d1db8c1c75088374843135655aff34 [diff] |
ui: Put ellipsis towards the middle of track titles The start and end of track titles are usually more important than the middle, so put the ellipsis in the middle instead of at the end when they get too long. In order to get an implementation working using only CSS, (i.e. without using a ResizeObserver on every track title element), this impl uses a fixed character offset from the end of the title, thus the position of the offsets are not entirely uniform. However, this CL is aimed at readability so beauty can take a back seat. Before: https://screenshot.googleplex.com/4cyVSahb49BtXbt.png After: https://screenshot.googleplex.com/9Ya7U7WvDroyChp.png Change-Id: Id50c7da459fceb571dd716ce186bf66c6b9cf786
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.