mirror of
https://github.com/maputnik/editor.git
synced 2026-04-23 09:50:00 +00:00
Fix bug setting layout/paint props directly on layer
This commit is contained in:
@@ -61,6 +61,7 @@ export default class LayerEditor extends React.Component {
|
||||
|
||||
onPropertyChange(group, property, newValue) {
|
||||
const layer = this.props.layer
|
||||
console.log(group, property, newValue)
|
||||
const changedLayer = layer.setIn([group, property], newValue)
|
||||
this.props.onLayerChanged(changedLayer)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user