Skip to content

Commit

Permalink
UIを変更 [update snapshots]
Browse files Browse the repository at this point in the history
  • Loading branch information
X-20A committed Jun 7, 2024
1 parent b6c03e6 commit aed0602
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/components/Talk/AudioInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,25 @@ const parameters = computed<Parameter[]>(() => {
action: "COMMAND_MULTI_SET_AUDIO_POST_PHONEME_LENGTH",
key: "postPhonemeLength",
},
switchPauseLengthMode.value === "SCALE" ? plsParam : plParam,
{
label: "文内無音(秒)",
slider: previewSliderHelper({
modelValue: () => query.value?.pauseLength ?? null,
disable: () => uiLocked.value,
max: SLIDER_PARAMETERS.PAUSE_LENGTH.max,
min: SLIDER_PARAMETERS.PAUSE_LENGTH.min,
step: SLIDER_PARAMETERS.PAUSE_LENGTH.step,
scrollStep: SLIDER_PARAMETERS.PAUSE_LENGTH.scrollStep,
scrollMinStep: SLIDER_PARAMETERS.PAUSE_LENGTH.scrollMinStep,
onChange: (pauseLength: number) =>
store.dispatch("COMMAND_MULTI_SET_AUDIO_PAUSE_LENGTH", {
audioKeys: selectedAudioKeys.value,
pauseLength: pauseLength,
}),
}),
action: "COMMAND_MULTI_SET_AUDIO_PAUSE_LENGTH",
key: "pauseLength",
},
];
// switchPauseLengthModeの変更に伴って更新
const newParam = switchPauseLengthMode.value === "SCALE" ? plsParam : plParam;
Expand Down

0 comments on commit aed0602

Please sign in to comment.