feat:增加点和数字切换,减小点最大尺寸,增加range配色方案
This commit is contained in:
@@ -89,6 +89,10 @@
|
||||
colorMapPreset = "emerald";
|
||||
}
|
||||
|
||||
function handleSubmit(): void {
|
||||
dispatch("close");
|
||||
}
|
||||
|
||||
$: selectedColorMap = colorMapOptions.find((option) => option.id === colorMapPreset) ?? colorMapOptions[0];
|
||||
|
||||
$: {
|
||||
@@ -120,7 +124,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<section class="config-panel" aria-label={title}>
|
||||
<form class="config-panel" aria-label={title} on:submit|preventDefault={handleSubmit}>
|
||||
<header class="config-head">
|
||||
<div class="config-copy">
|
||||
<p class="config-label">Stage Config</p>
|
||||
@@ -214,7 +218,7 @@
|
||||
<p class="live-note">{applyLiveHint}</p>
|
||||
<button type="button" class="reset-btn" on:click={resetDefaults}>{resetLabel}</button>
|
||||
</footer>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
<style>
|
||||
.config-panel {
|
||||
|
||||
Reference in New Issue
Block a user