Commit b5b31eab by doszhang

dos

parent 0e9c541e
...@@ -395,7 +395,10 @@ function createPoster() { ...@@ -395,7 +395,10 @@ function createPoster() {
posterCtx.drawImage(decorate, pxToRem(170), pxToRem(305), pxToRem(300), pxToRem(150)); posterCtx.drawImage(decorate, pxToRem(170), pxToRem(305), pxToRem(300), pxToRem(150));
flagTextDraw(posterCtx, signature, pxToRem(40), '#222222', pxToRem(230), bottomHalfTop + pxToRem(103)); flagTextDraw(posterCtx, signature, pxToRem(40), '#222222', pxToRem(230), bottomHalfTop + pxToRem(103));
flagTextDraw(posterCtx, getTime(), pxToRem(20), '#222222', pxToRem(230), bottomHalfTop + pxToRem(136)); flagTextDraw(posterCtx, getTime(), pxToRem(20), '#222222', pxToRem(230), bottomHalfTop + pxToRem(136));
$('.posterImg').attr('src', getManBase64(posterCanvas)); setTimeout(function () {
$('.posterImg').attr('src', getManBase64(posterCanvas)).css('height', posterCanvas.height);
}, 1000);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment