update
This commit is contained in:
parent
7bab6fda42
commit
a012b3b4fa
@ -40,9 +40,7 @@ $(".download").click(() => {
|
|||||||
useCORS: true,
|
useCORS: true,
|
||||||
background: null,
|
background: null,
|
||||||
windowWidth:document.body.scrollWidth,
|
windowWidth:document.body.scrollWidth,
|
||||||
windowHeight:document.body.scrollHeight,
|
windowHeight:document.body.scrollHeight
|
||||||
x:(document.body.scrollWidth - width)/2,
|
|
||||||
y:0
|
|
||||||
}).then(canvas => {
|
}).then(canvas => {
|
||||||
let imgUrl = Canvas2Image.convertToPNG(canvas,$("#app").width(),$("#app").height())
|
let imgUrl = Canvas2Image.convertToPNG(canvas,$("#app").width(),$("#app").height())
|
||||||
imgUrl = $(imgUrl).attr('src')
|
imgUrl = $(imgUrl).attr('src')
|
||||||
|
Loading…
Reference in New Issue
Block a user