From 950324901c9de020ddc1248db244bb777094cef1 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 30 Nov 2021 19:19:53 +0100 Subject: [PATCH] Fix build, version bump --- Models/Constants.ts | 2 +- UI/BigComponents/SimpleAddUI.ts | 2 ++ UI/NewPoint/ConfirmLocationOfPoint.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Models/Constants.ts b/Models/Constants.ts index dde6bb842..e3874d3e6 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import {Utils} from "../Utils"; export default class Constants { - public static vNumber = "0.12.10"; + public static vNumber = "0.12.11"; public static ImgurApiKey = '7070e7167f0a25a' public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85" diff --git a/UI/BigComponents/SimpleAddUI.ts b/UI/BigComponents/SimpleAddUI.ts index 04a3aa314..6e1bdb4f4 100644 --- a/UI/BigComponents/SimpleAddUI.ts +++ b/UI/BigComponents/SimpleAddUI.ts @@ -22,6 +22,7 @@ import {Changes} from "../../Logic/Osm/Changes"; import FeaturePipeline from "../../Logic/FeatureSource/FeaturePipeline"; import {ElementStorage} from "../../Logic/ElementStorage"; import ConfirmLocationOfPoint from "../NewPoint/ConfirmLocationOfPoint"; +import BaseLayer from "../../Models/BaseLayer"; /* * The SimpleAddUI is a single panel, which can have multiple states: @@ -52,6 +53,7 @@ export default class SimpleAddUI extends Toggle { locationControl: UIEventSource, filteredLayers: UIEventSource, featureSwitchFilter: UIEventSource, + backgroundLayer: UIEventSource }) { const loginButton = new SubtleButton(Svg.osm_logo_ui(), Translations.t.general.add.pleaseLogin.Clone()) .onClick(() => state.osmConnection.AttemptLogin()); diff --git a/UI/NewPoint/ConfirmLocationOfPoint.ts b/UI/NewPoint/ConfirmLocationOfPoint.ts index 3782ecf2b..baabd0334 100644 --- a/UI/NewPoint/ConfirmLocationOfPoint.ts +++ b/UI/NewPoint/ConfirmLocationOfPoint.ts @@ -21,7 +21,7 @@ export default class ConfirmLocationOfPoint extends Combine { state: { osmConnection: OsmConnection, featurePipeline: FeaturePipeline, - backgroundLayer: UIEventSource + backgroundLayer?: UIEventSource }, filterViewIsOpened: UIEventSource, preset: PresetInfo,