Grid: Skip line labels to avoid overlap When a grid container has narrow tracks, the labels draw in the overlay may overlap. To avoid this, this change introduce a minimum distance from the last label that has to be respected for the next label to be draw too, otherwise it is skipped. Only the first and last labels in any given direction are drawn every time. The distance was chosen to avoid overlap between 2 consecutive 2-digits labels. Before: https://i.imgur.com/2RHqi5M.jpg After: https://i.imgur.com/AgHwPSZ.jpg Bug: 1098673 Change-Id: Ib5ae09ef8c212707d45e7c0b602599c3a8011454 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2263293 Commit-Queue: Patrick Brosset <patrick.brosset@microsoft.com> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Changhao Han <changhaohan@chromium.org> Reviewed-by: Brandon Goddard <brgoddar@microsoft.com>
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com.
Please be aware that DevTools follows additional development guidelines.
The issue triage guidelines can be found here.
Instructions to set up, use, and maintain a DevTools frontend checkout can be found here.
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
All DevTools commits: View the log or follow @DevToolsCommits on Twitter
All open DevTools tickets on crbug.com
File a new DevTools ticket: new.crbug.com
Code reviews mailing list: devtools-reviews@chromium.org
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools