Fix build

This commit is contained in:
Pieter Vander Vennet 2021-10-16 00:43:53 +02:00
parent 91ec409915
commit affe8237dc

View file

@ -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) {