Merge branch 'master' into matchingbrackets_addon

This commit is contained in:
Orange Mug
2020-01-19 08:29:25 +00:00
committed by GitHub
8 changed files with 16 additions and 42 deletions

View File

@@ -107,18 +107,6 @@ class JSONEditor extends React.Component {
}
render() {
const codeMirrorOptions = {
mode: {name: "javascript", json: true},
tabSize: 2,
theme: 'maputnik',
viewportMargin: Infinity,
lineNumbers: true,
lint: true,
matchBrackets: true,
gutters: ["CodeMirror-lint-markers"],
scrollbarStyle: "null",
}
const style = {};
if (this.props.maxHeight) {
style.maxHeight = this.props.maxHeight;

View File

@@ -124,6 +124,7 @@ export default class MapboxGlMap extends React.Component {
container: this.container,
style: this.props.mapStyle,
hash: true,
maxZoom: 24
}
const map = new MapboxGl.Map(mapOpts);