Commit 34efb510 by doszhang

dos

parent 73254fe5
......@@ -181,7 +181,7 @@ function createPoster() {
function drawRoundedRect(ctx, x, y, width, height, r, fill, color) {
ctx.save();
ctx.fillStyle = "#0f5188";
ctx.fillStyle = color;
ctx.beginPath(); // draw top and top right corner
ctx.moveTo(x + r, y);
ctx.arcTo(x + width, y, x + width, y + r, r); // draw right side and bottom right corner
......
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