Commit 6fb94b10 by doszhang

dos

parent 7d06da46
......@@ -399,10 +399,10 @@ function drawFlagItem(initialPosition) {
let textTop = initialPosition + $(nodeList[i]).find('.flag-text').offset().top + pxToRem(28);
posterCtx.drawImage(noBg, pxToRem(105 * 2), top * 2, pxToRem(44 * 2), pxToRem(39 * 2));
flagNoDraw(posterCtx, i + 1, 14 * 2, '#222222', pxToRem(129 * 2), (top + pxToRem(28)) * 2);
// let lineTop = flagTextDraw(posterCtx, flagStack[i], 16, '#222222', pxToRem(167), textTop);
// if (lineTop != 0) {
// posterCtx.drawImage(redline, pxToRem(161), lineTop, pxToRem(367), pxToRem(20));
// }
let lineTop = flagTextDraw(posterCtx, flagStack[i], 16 * 2, '#222222', pxToRem(167 * 2), textTop * 2);
if (lineTop != 0) {
posterCtx.drawImage(redline, pxToRem(161 * 2), lineTop * 2, pxToRem(367 * 2), pxToRem(20 * 2));
}
}
}
......
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