mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 18:29:14 +02:00
Fix
This commit is contained in:
@@ -88,7 +88,9 @@ module.exports = class EjectCommand extends Command {
|
|||||||
ctx.rotate(-angle);
|
ctx.rotate(-angle);
|
||||||
ctx.translate(-originX, -originY);
|
ctx.translate(-originX, -originY);
|
||||||
ctx.drawImage(avatar, x, y, 50, 50);
|
ctx.drawImage(avatar, x, y, 50, 50);
|
||||||
|
ctx.translate(originX, originY);
|
||||||
ctx.rotate(angle);
|
ctx.rotate(angle);
|
||||||
|
ctx.translate(-originX, -originY);
|
||||||
}
|
}
|
||||||
if (i > 17) {
|
if (i > 17) {
|
||||||
if (i <= 27) {
|
if (i <= 27) {
|
||||||
|
|||||||
Reference in New Issue
Block a user