mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 00:09:08 +02:00
Spin less
This commit is contained in:
@@ -80,7 +80,7 @@ module.exports = class EjectCommand extends Command {
|
|||||||
if (i <= 17) {
|
if (i <= 17) {
|
||||||
const x = ((320 / 15) * i) - 50;
|
const x = ((320 / 15) * i) - 50;
|
||||||
const y = (frame.height / 2) - 25;
|
const y = (frame.height / 2) - 25;
|
||||||
const rotation = (360 / 10) * i;
|
const rotation = (360 / 15) * i;
|
||||||
const angle = rotation * (Math.PI / 180);
|
const angle = rotation * (Math.PI / 180);
|
||||||
const originX = x + 25;
|
const originX = x + 25;
|
||||||
const originY = y + 25;
|
const originY = y + 25;
|
||||||
|
|||||||
Reference in New Issue
Block a user