mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 00:20:00 +00:00
Stop LayerEditor using same DOM elements for different layers.
This commit is contained in:
@@ -645,6 +645,7 @@ export default class App extends React.Component {
|
||||
/>
|
||||
|
||||
const layerEditor = selectedLayer ? <LayerEditor
|
||||
key={selectedLayer.id}
|
||||
layer={selectedLayer}
|
||||
layerIndex={this.state.selectedLayerIndex}
|
||||
isFirstLayer={this.state.selectedLayerIndex < 1}
|
||||
|
||||
Reference in New Issue
Block a user