Commit 1f899f79 by doszhang

dos

parent 56ea3f2d
...@@ -167,8 +167,11 @@ $(document).ready(function () { ...@@ -167,8 +167,11 @@ $(document).ready(function () {
ctx2.textBaseline = 'top'; ctx2.textBaseline = 'top';
var left = ((img.width - ctx2.measureText(text).width) / 2) - 10; var left = ((img.width - ctx2.measureText(text).width) / 2) - 10;
ctx2.shadowBlur = 0; ctx2.shadowBlur = 0;
setTimeout(function () {
ctx2.fillText(text, left, top * 2); ctx2.fillText(text, left, top * 2);
$('.page:visible').find('.showBox').show().html('<img src="' + canvas2.toDataURL('image/png') + '">'); $('.page:visible').find('.showBox').show().html('<img src="' + canvas2.toDataURL('image/png') + '">');
}, 3000)
}); });
}); });
// $('input[type=text]').on('input', onInput); // $('input[type=text]').on('input', onInput);
......
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