chore: bgcolor of memo share image (#508)

This commit is contained in:
Zeng1998
2022-11-21 18:38:32 +08:00
committed by GitHub
parent b05a176490
commit d2a87a4ddb

View File

@@ -64,6 +64,7 @@ const ShareMemoImageDialog: React.FC<Props> = (props: Props) => {
}
toImage(memoElRef.current, {
backgroundColor: "#eaeaea",
pixelRatio: window.devicePixelRatio * 2,
})
.then((url) => {