mirror of
https://github.com/usememos/memos.git
synced 2025-11-09 17:01:36 +08:00
chore: bgcolor of memo share image (#508)
This commit is contained in:
parent
b05a176490
commit
d2a87a4ddb
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ const ShareMemoImageDialog: React.FC<Props> = (props: Props) => {
|
|||
}
|
||||
|
||||
toImage(memoElRef.current, {
|
||||
backgroundColor: "#eaeaea",
|
||||
pixelRatio: window.devicePixelRatio * 2,
|
||||
})
|
||||
.then((url) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue