forked from MapComplete/MapComplete
UI: fix #1603
This commit is contained in:
parent
9a517bd4f8
commit
903ea0804a
1 changed files with 6 additions and 0 deletions
|
@ -152,6 +152,12 @@ class PointRenderingLayer {
|
|||
}
|
||||
const el = html.ConstructElement()
|
||||
|
||||
store.addCallbackAndRunD(tags => {
|
||||
if(tags._deleted === "yes"){
|
||||
html.SetClass("grayscale")
|
||||
}
|
||||
})
|
||||
|
||||
if (this._onClick) {
|
||||
const self = this
|
||||
el.addEventListener("click", function (ev) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue