Commit b46dfb19 by doszhang

dos

parent e12f2618
......@@ -277,9 +277,13 @@ function createHeadimg() {
frameimg.src = '/Public/static/image2/canvas-frame5.png';
frameimg.onload = function() {
ctx.save();
headimgctx.drawImage(frameimg,0,0,headimgCanvas.width,headimgCanvas.height);
ctx.restore();
ctx.save();
txtDraw(headimgctx, $('[name=customize]').val(), 0, 0, 41, 'normal', '#fff');
ctx.restore();
$('#headimg').attr('src',getManBase64(headimgCanvas));
......
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