Skip to content

Preload fonts#1481

Merged
texodus merged 3 commits intomasterfrom
preload-fonts-2
Jul 21, 2021
Merged

Preload fonts#1481
texodus merged 3 commits intomasterfrom
preload-fonts-2

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

Development

Successfully merging this pull request may close these issues.

1 participant