forked from MapComplete/MapComplete
Fix: hide 'addnewpoint'-icon when closing the dialog
This commit is contained in:
parent
b78e37f7a4
commit
499ad85f1e
1 changed files with 8 additions and 0 deletions
|
@ -541,6 +541,14 @@ export default class ThemeViewState implements SpecialVisualizationState {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
this.selectedElement.addCallback(selected => {
|
||||||
|
if(selected === undefined){
|
||||||
|
// We did _unselect_ an item - we always remove the lastclick-object
|
||||||
|
this.lastClickObject.features.setData([])
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
new MetaTagging(this)
|
new MetaTagging(this)
|
||||||
new TitleHandler(this.selectedElement, this.selectedLayer, this.featureProperties, this)
|
new TitleHandler(this.selectedElement, this.selectedLayer, this.featureProperties, this)
|
||||||
new ChangeToElementsActor(this.changes, this.featureProperties)
|
new ChangeToElementsActor(this.changes, this.featureProperties)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue