From 903ea0804a866d8283a49487b1b834b2667dbabc Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 19 Jul 2024 20:57:29 +0200 Subject: [PATCH] UI: fix #1603 --- src/UI/Map/ShowDataLayer.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/UI/Map/ShowDataLayer.ts b/src/UI/Map/ShowDataLayer.ts index 5c7cee6f2c..4ea472d1c3 100644 --- a/src/UI/Map/ShowDataLayer.ts +++ b/src/UI/Map/ShowDataLayer.ts @@ -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) {