Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preload fonts #1481

Merged
merged 3 commits into from Jul 21, 2021
Merged

Preload fonts #1481

merged 3 commits into from Jul 21, 2021

Conversation

texodus
Copy link
Member

@texodus texodus commented Jul 16, 2021

  • Adds webfontloader font loading for docs and examples projects that use the Material themes, in order to suppress FOUT.
  • Couples .view() and draw() calls within the same transaction, such that updates which are queue-d do not render.
  • Adds a throttle control to the docs site, so users can disable the animation if they wish (or speed it up). Also changes hover-activate chart type buttons into click-activate.

@texodus texodus changed the title Preload fonts from NPM Preload fonts Jul 16, 2021
@texodus texodus marked this pull request as ready for review July 17, 2021 00:58
@texodus texodus merged commit 1c1f690 into master Jul 21, 2021
@texodus texodus deleted the preload-fonts-2 branch July 21, 2021 23:32
@texodus texodus added the documentation Improvements/bugs/changes to documentation label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements/bugs/changes to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant