feat: display module for chunithm

Also make the progress bar all shiny
This commit is contained in:
2025-04-12 17:33:39 +00:00
parent 7db36b7bc0
commit 6270fce05f
17 changed files with 188 additions and 83 deletions

View File

@ -19,6 +19,7 @@ defineProps({
name: String,
tooltip: String,
type: String,
defaultValue: Number,
});
</script>
@ -29,6 +30,10 @@ defineProps({
:model-value="prf.current!.data.patches[id!] !== undefined"
@update:model-value="(v: boolean) => toggleUnary(id!, v)"
/>
<InputNumber v-else class="number-input" />
<InputNumber
v-else
class="number-input"
:placeholder="(defaultValue ?? 0).toString()"
/>
</OptionRow>
</template>