This commit is contained in:
kakkokari-gtyih 2024-06-26 11:29:02 +09:00
parent 59477b4a54
commit be15242bf6

View file

@ -125,7 +125,7 @@ function ok() {
// URLparams
const paramsForUrl = computed<EmbedParams>(() => ({
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,
colorMode: colorMode.value === 'auto' ? undefined : colorMode.value,
rounded: rounded.value === true ? undefined : rounded.value,