Fix snapping

This commit is contained in:
Pieter Vander Vennet 2022-02-07 02:12:51 +01:00
parent 82f165497a
commit f9d4df39f9
2 changed files with 1 additions and 2 deletions

View file

@ -78,7 +78,7 @@ export default class ConfirmLocationOfPoint extends Combine {
// return;
}
bbox = bbox.pad(Math.max(preset.boundsFactor, 2), Math.max(preset.boundsFactor, 2));
bbox = bbox.pad(Math.max(preset.boundsFactor ?? 0.25, 2), Math.max(preset.boundsFactor ?? 0.25, 2));
loadedBbox = bbox;
const allFeatures: { feature: any }[] = []
preset.preciseInput.snapToLayers.forEach(layerId => {