Stop LayerEditor using same DOM elements for different layers.

This commit is contained in:
orangemug 2019-10-13 17:59:11 +01:00
parent e4ec1d155a
commit 00ab303e44

View file

@ -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}