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