mirror of
https://github.com/maputnik/editor.git
synced 2026-06-15 11:47:26 +00:00
Remove logging and force OL3 to redraw
This commit is contained in:
@@ -38,7 +38,7 @@ class ColorField extends React.Component {
|
||||
left: pos.left + 165,
|
||||
}
|
||||
} else {
|
||||
console.log('No elem!!')
|
||||
console.warn('Color field has no element to adjust position')
|
||||
return {
|
||||
top: 160,
|
||||
left: 500,
|
||||
|
||||
@@ -35,7 +35,6 @@ export default class PropertyGroup extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
console.log(this.props.layer.id, this.props.groupFields)
|
||||
const fields = this.props.groupFields.map(fieldName => {
|
||||
const fieldSpec = getFieldSpec(this.props.layer.type, fieldName)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user