Commit dc7734d6 by dosZhang

dos

parent b19d22b4
......@@ -116,8 +116,8 @@ $(document).ready(function () {
$('.username,.company').show();
var mc = new Hammer($('.touch').get(0));
bindMc(mc, uploadCtx, uploadCanvas, img, imgInfo);
drawVerticalText(uploadCtx, username, '#595857',32 * 2, 95 * 2, 345 * 2, true, 5 * 2);
drawVerticalText(uploadCtx, company, '#595857',32 * 2, 95 * 2, 505 * 2, true, 5 * 2);
drawVerticalText(uploadCtx, username, '#595857',32 * 2, 75 * 2, 300 * 2, true, 5 * 2);
drawVerticalText(uploadCtx, company, '#595857',32 * 2, 80 * 2, 460 * 2, true, 5 * 2);
}, imgInfo);
return false;
});
......@@ -421,8 +421,8 @@ function bindMc(mc, ctx, myCanvas, img, imgInfo) {
imgInfo.y += movedY * 2;
drawImage(ctx, myCanvas, img, imgInfo);
drawVerticalText(ctx, username, '#595857',25 * 2, 60 * 2, 345 * 2, true, 5 * 2);
drawVerticalText(ctx, company, '#595857',20 * 2, 50 * 2, 505 * 2, true, 5 * 2);
drawVerticalText(ctx, username, '#595857',32 * 2, 95 * 2, 345 * 2, true, 5 * 2);
drawVerticalText(ctx, company, '#595857',32 * 2, 95 * 2, 505 * 2, true, 5 * 2);
}
});
var oldScale = 1;
......
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