Refactoring: highlight the currently selected element

This commit is contained in:
Pieter Vander Vennet 2023-04-27 02:24:38 +02:00
parent 06631ccd6d
commit 2b47cf934c
20 changed files with 214 additions and 72 deletions

View file

@ -30,7 +30,7 @@ export class UpdateLegacyLayer extends DesugaringStep<
config.source = config.source ?? {
osmTags: config["overpassTags"],
}
config.source.osmTags = config["overpassTags"]
config.source["osmTags"] = config["overpassTags"]
delete config["overpassTags"]
}

View file

@ -13,7 +13,7 @@ import Combine from "../../UI/Base/Combine"
import { VariableUiElement } from "../../UI/Base/VariableUIElement"
export default class PointRenderingConfig extends WithContextLoader {
private static readonly allowed_location_codes = new Set<string>([
static readonly allowed_location_codes: ReadonlySet<string> = new Set<string>([
"point",
"centroid",
"start",