Commit 2ff41597 by doszhang

dos

parent 6f51d6ea
......@@ -118,6 +118,7 @@ $(document).ready(function () {
var top = 0;
if (custom) {
console.log('555555555555')
top = 0;
ctx2.fillStyle = '#000000';
ctx2.font = 'bolder 70px fzlt';
......@@ -135,10 +136,7 @@ $(document).ready(function () {
ctx2.textBaseline = 'top';
var left = (img.width - ctx2.measureText(text).width) / 2;
ctx2.shadowBlur = 0;
setTimeout(function () {
ctx2.fillText(text, left, top * 2);
}, 1000)
ctx2.fillText(text, left, top * 2);
$('.page:visible').find('.showBox').show().html('<img src="' + canvas2.toDataURL('image/png') + '">');
});
......
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