mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Bit rounder
This commit is contained in:
@@ -90,7 +90,7 @@ module.exports = class TweetCommand extends Command {
|
|||||||
const x = 0;
|
const x = 0;
|
||||||
const y = 0;
|
const y = 0;
|
||||||
const imageWidth = 740;
|
const imageWidth = 740;
|
||||||
const radius = 10;
|
const radius = 15;
|
||||||
imageCtx.beginPath();
|
imageCtx.beginPath();
|
||||||
imageCtx.moveTo(x + radius, y);
|
imageCtx.moveTo(x + radius, y);
|
||||||
imageCtx.lineTo(x + imageWidth - radius, y);
|
imageCtx.lineTo(x + imageWidth - radius, y);
|
||||||
|
|||||||
Reference in New Issue
Block a user