🎨 调整偏移

This commit is contained in:
BTMuli
2023-06-14 12:28:09 +08:00
parent 0170c80e02
commit 65eae3422d
2 changed files with 15 additions and 8 deletions

View File

@@ -155,7 +155,7 @@ async function shareAbyss (): Promise<void> {
useCORS: true,
canvas,
// 因为有放大,所以需要计算偏移量
x: -25,
x: -20,
y: -25,
};
const canvasData = await html2canvas(abyssRef.value, options);