Commit a8adf118 by doszhang

dos

parent e5dc1d3d
......@@ -397,7 +397,7 @@ function drawFlagItem(initialPosition) {
let nodeList = $('.poster-list-page .poster-list .flag-item');
for (let i = 0; i < flagStack.length; i++) {
let top = initialPosition + $(nodeList[i]).position().top;
let textTop = initialPosition + $(nodeList[i]).find('.flag-text').offset().top + pxToRem(28);
let textTop = initialPosition + $(nodeList[i]).find('.flag-text').position().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 * 2, '#222222', pxToRem(167 * 2), textTop * 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