mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 08:30:02 +00:00
Fixed crash raised in issue #647
This commit is contained in:
@@ -110,11 +110,11 @@ export default class MapboxGlMap extends React.Component {
|
||||
this.state.inspect._popupBlocked = false;
|
||||
this.state.inspect.toggleInspector()
|
||||
}
|
||||
if(this.props.inspectModeEnabled) {
|
||||
this.state.inspect.render()
|
||||
}
|
||||
|
||||
if (map) {
|
||||
if (this.props.inspectModeEnabled) {
|
||||
this.state.inspect.render();
|
||||
}
|
||||
|
||||
map.showTileBoundaries = this.props.options.showTileBoundaries;
|
||||
map.showCollisionBoxes = this.props.options.showCollisionBoxes;
|
||||
map.showOverdrawInspector = this.props.options.showOverdrawInspector;
|
||||
|
||||
Reference in New Issue
Block a user