We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f8562 commit e7f1dceCopy full SHA for e7f1dce
src/containers/gui.jsx
@@ -48,7 +48,7 @@ class GUI extends React.Component {
48
this.props.vm.attachAudioEngine(this.audioEngine);
49
this.props.vm.initialized = true;
50
const fontPromises = [];
51
- if (document.fonts && document.fonts.values.length) {
+ if (document.fonts && document.fonts.values() && document.fonts.values().next) {
52
for (const fontFace of document.fonts.values()) {
53
fontPromises.push(fontFace.loaded);
54
fontFace.load();
0 commit comments