This commit is contained in:
kakkokari-gtyih 2024-06-26 11:29:02 +09:00
parent 59477b4a54
commit be15242bf6
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ function ok() {
// URLparams // URLparams
const paramsForUrl = computed<EmbedParams>(() => ({ const paramsForUrl = computed<EmbedParams>(() => ({
header: header.value === true ? undefined : header.value, header: header.value === true ? undefined : header.value,
autoload: autoload.value === true ? undefined : autoload.value, autoload: autoload.value === false ? undefined : autoload.value,
maxHeight: typeof maxHeight.value === 'number' ? Math.max(0, maxHeight.value) : undefined, maxHeight: typeof maxHeight.value === 'number' ? Math.max(0, maxHeight.value) : undefined,
colorMode: colorMode.value === 'auto' ? undefined : colorMode.value, colorMode: colorMode.value === 'auto' ? undefined : colorMode.value,
rounded: rounded.value === true ? undefined : rounded.value, rounded: rounded.value === true ? undefined : rounded.value,