diff --git a/src/renderer/src/lib/MapSettingControl.svelte b/src/renderer/src/lib/MapSettingControl.svelte index 0065162..6ca7258 100644 --- a/src/renderer/src/lib/MapSettingControl.svelte +++ b/src/renderer/src/lib/MapSettingControl.svelte @@ -1,5 +1,5 @@ + + + + diff --git a/src/renderer/src/lib/mapSettings.ts b/src/renderer/src/lib/mapSettings.ts index abb9954..257d334 100644 --- a/src/renderer/src/lib/mapSettings.ts +++ b/src/renderer/src/lib/mapSettings.ts @@ -128,6 +128,7 @@ type RequiresReprocessingFunc = (prev: T, next: T) => boolean; interface MapSettingConfigBase extends IdAndName { requiresReprocessing?: boolean | RequiresReprocessingFunc; hideIf?: (settings: MapSettings) => boolean; + tooltip?: string; } interface MapSettingConfigToggle extends MapSettingConfigBase { @@ -693,12 +694,25 @@ export const mapSettingConfig: MapSettingGroup[] = [ name: 'Circular Galaxy Borders', requiresReprocessing: true, type: 'toggle', + tooltip: ``, }, { id: 'hyperlaneSensitiveBorders', name: 'Hyperlane Sensitive Borders', requiresReprocessing: true, type: 'toggle', + tooltip: ``, }, { id: 'voronoiGridSize', @@ -707,15 +721,12 @@ export const mapSettingConfig: MapSettingGroup[] = [ type: 'number', step: 1, min: 1, - }, - { - id: 'claimVoidBorderThreshold', - name: 'Claim Bordering Void Threshold', - requiresReprocessing: true, - type: 'range', - step: 0.05, - min: 0, - max: 1, + tooltip: ``, }, { id: 'claimVoidMaxSize', @@ -725,6 +736,26 @@ export const mapSettingConfig: MapSettingGroup[] = [ step: 1, min: 0, optional: true, + tooltip: ``, + }, + { + id: 'claimVoidBorderThreshold', + name: 'Claim Bordering Void Threshold', + requiresReprocessing: true, + type: 'range', + step: 0.05, + min: 0, + max: 1, + tooltip: ``, }, ], },