💄 mac隐藏游戏目录设置&游戏启动badge

This commit is contained in:
目棃
2024-10-26 15:39:27 +08:00
parent 83bfd5d1eb
commit 5f1d07968c
3 changed files with 8 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ export async function generateShareImg(
y: -15,
dpi: 350,
};
// @ts-expect-error This expression is not callable.
const canvasData = await html2canvas(element, opts);
if (scrollable) element.style.maxHeight = maxHeight;
const buffer = new Uint8Array(