added missing glyphs property check on styleChanged - addresses #229

This commit is contained in:
jPalmer committed 2018-01-31 11:28:09 -08:00
1 parent d9b6f28bb5
commit 844abd38ce
1 file changed
+1 -2
+1 -2
View File
@@ -117,10 +117,9 @@ export default class App extends React.Component {
this.setState({
errors:[error]
})
console.error(error)
return
}
if(newStyle.glyphs !== this.state.mapStyle.glyphs) {
this.updateFonts(newStyle.glyphs)
}