mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: bgcolor of memo share image (#508)
This commit is contained in:
@@ -64,6 +64,7 @@ const ShareMemoImageDialog: React.FC<Props> = (props: Props) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
toImage(memoElRef.current, {
|
toImage(memoElRef.current, {
|
||||||
|
backgroundColor: "#eaeaea",
|
||||||
pixelRatio: window.devicePixelRatio * 2,
|
pixelRatio: window.devicePixelRatio * 2,
|
||||||
})
|
})
|
||||||
.then((url) => {
|
.then((url) => {
|
||||||
|
Reference in New Issue
Block a user