`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
1 changed files with 2 additions and 1 deletions

View File

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