1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-01-10 04:07:35 +02:00

Make bendLongPathsTrigger to be a float and also decrease def. value to 0.5

This commit is contained in:
Patrik J. Braun 2023-08-01 15:41:53 +02:00
parent 5bfd384a21
commit 1974323b61

View File

@ -579,14 +579,14 @@ export class ClientMapConfig {
)]) )])
]; ];
@ConfigProperty({ @ConfigProperty({
type: 'unsignedInt', type: 'positiveFloat',
tags: { tags: {
name: $localize`Bend long path trigger`, name: $localize`Bend long path trigger`,
priority: ConfigPriority.underTheHood priority: ConfigPriority.underTheHood
} as TAGS, } as TAGS,
description: $localize`Map will bend the path if two points are this far apart on latititude axes. This intended to bend flight if only the end and the start points are given.`, description: $localize`Map will bend the path if two points are this far apart on latititude axes. This intended to bend flight if only the end and the start points are given.`,
}) })
bendLongPathsTrigger: number = 1; bendLongPathsTrigger: number = 0.5;
} }
@SubConfigClass({tags: {client: true}, softReadonly: true}) @SubConfigClass({tags: {client: true}, softReadonly: true})