Skip to content

Commit 7b7ed17

Browse files
committed
Fix: width of message canvas
1 parent 4a95cc9 commit 7b7ed17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SpachaImage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class SpachaImage extends SpachaCore {
112112
x + 20 * this.scale,
113113
y + 32 * this.scale,
114114
32 * this.scale,
115-
(this.options.width ?? 600) - 10,
115+
(this.options.width ?? 600) - 20 * 2 * this.scale,
116116
true
117117
);
118118
};

0 commit comments

Comments
 (0)