mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 21:24:26 +08:00
This CL reduces retries to 1 (no-retries) and the threshold for diffs to 0.1. This CL also adds the following flags that should help to render in a more stable way: - `--disable-font-subpixel-positioning` disables subpixel positioning for fonts. - `--disable-lcd-text` disables subpixel antialiasing. - `--force-device-scale-factor=1` forces device scale factor to be 1. - `--hide-scrollbars` hides scrollbars which might affect rendering. Also, this CL imports a Roboto web font into component docs and adds a special CSS class to force all fonts to be the same font (see front_end/design_system_tokens.css and front_end/ui/components/docs/component_docs_styles.css). Bug: 401489541 Change-Id: I94e6a733d63459d1692197536511dad199ee168b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6342613 Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>