Make SpinBox types more specific, and add default max value.

This commit is contained in:
Damien Elmes 2023-01-28 20:58:37 +10:00
parent df09e34927
commit 9c2035e2d1
2 changed files with 6 additions and 6 deletions

View File

@ -9,10 +9,10 @@
import ConfigInput from "./ConfigInput.svelte";
import RevertButton from "./RevertButton.svelte";
export let value: any;
export let defaultValue: any;
export let value: number;
export let defaultValue: number;
export let min = 0;
export let max: number | undefined = undefined;
export let max = 9999;
</script>
<Row --cols={13}>

View File

@ -9,10 +9,10 @@
import ConfigInput from "./ConfigInput.svelte";
import RevertButton from "./RevertButton.svelte";
export let value: any;
export let defaultValue: any;
export let value: number;
export let defaultValue: number;
export let min = 0;
export let max: number | undefined = undefined;
export let max = 9999;
</script>
<Row --cols={13}>