Commit b19617f9 by doszhang

dos

parent 239a4903
......@@ -152,8 +152,8 @@ function createPoster(resultFlag) {
function drawNum(resultFlag) {
const text1 = `成为樱桃小丸子的第${window.joinNum}个的`;
const text2 = `祈福伙伴,并获得「${guardian[resultFlag-1]}」`
txtDraw(posterCtx, chuan, 281, 24, 'bolder', '#748b6c');
txtDraw(posterCtx, chuan, 316, 24, 'bolder', '#748b6c');
txtDraw(posterCtx, text1, 281, 24, 'bolder', '#748b6c');
txtDraw(posterCtx, text2, 316, 24, 'bolder', '#748b6c');
}
function txtDraw(ctx, content, top, fontsize, fontweight, color) {
......
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