forked from MapComplete/MapComplete
Fix build
This commit is contained in:
parent
91ec409915
commit
affe8237dc
1 changed files with 7 additions and 5 deletions
|
@ -162,8 +162,10 @@ export default class LayerConfig {
|
|||
}
|
||||
this.presets = (json.presets ?? []).map((pr, i) => {
|
||||
|
||||
let preciseInput = {
|
||||
preferredBackground: ["photo"]
|
||||
let preciseInput: any = {
|
||||
preferredBackground: ["photo"],
|
||||
snapToLayers: undefined,
|
||||
maxSnapDistance: undefined
|
||||
};
|
||||
if (pr.preciseInput !== undefined) {
|
||||
if (pr.preciseInput === true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue