followmouse should be gated by "play animation" button
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user