followmouse should be gated by "play animation" button

This commit is contained in:
dakkar 2024-06-15 13:44:59 +01:00
parent 6c2c5c3112
commit 4c06f9a6e2

View file

@ -16,7 +16,8 @@ export function checkAnimationFromMfm(nodes: mfm.MfmNode[]): boolean {
node.props.name === 'jump' ||
node.props.name === 'bounce' ||
node.props.name === 'rainbow' ||
node.props.name === 'sparkle') {
node.props.name === 'sparkle' ||
node.props.name === 'followmouse') {
return true;
} else {
return false;