mirror of
https://github.com/maputnik/editor.git
synced 2025-12-24 23:20:00 +00:00
added missing glyphs property check on styleChanged - addresses #229
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user