This commit is contained in:
kakkokari-gtyih 2024-12-20 11:53:32 +09:00
parent 29f0bc4c7d
commit 53b1b32b85

View File

@ -167,7 +167,7 @@ const rotate = computed({
set: (v) => watermarkConfig.value = { ...watermarkConfig.value, rotate: v },
});
const preserveBoundingRect = computed({
get: () => watermarkConfig.value?.noBoundingBoxExpansion ?? false,
get: () => !(watermarkConfig.value?.noBoundingBoxExpansion ?? false),
set: (v) => watermarkConfig.value = { ...watermarkConfig.value, noBoundingBoxExpansion: !v },
});