`followmouse` should be gated by "play animation" button
This commit is contained in:
parent
6c2c5c3112
commit
4c06f9a6e2
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue