diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-06-17 09:57:29 +0000 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-06-17 09:57:29 +0000 |
| commit | 3545d4f67bab167784008fe7cbac0c84c5610da5 (patch) | |
| tree | 0109695430a1e604e68ddc2b7137f1fa7e354e4c /packages/frontend/src/scripts | |
| parent | `followmouse` should be gated by "play animation" button (diff) | |
| parent | add fade to animated mfm tags (diff) | |
| download | sharkey-3545d4f67bab167784008fe7cbac0c84c5610da5.tar.gz sharkey-3545d4f67bab167784008fe7cbac0c84c5610da5.tar.bz2 sharkey-3545d4f67bab167784008fe7cbac0c84c5610da5.zip | |
merge: add fade and followmouse to list of animated mfm tags (!551)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/551
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
Diffstat (limited to 'packages/frontend/src/scripts')
| -rw-r--r-- | packages/frontend/src/scripts/check-animated-mfm.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/frontend/src/scripts/check-animated-mfm.ts b/packages/frontend/src/scripts/check-animated-mfm.ts index f7f9b743b6..2614dfb4f1 100644 --- a/packages/frontend/src/scripts/check-animated-mfm.ts +++ b/packages/frontend/src/scripts/check-animated-mfm.ts @@ -17,6 +17,7 @@ export function checkAnimationFromMfm(nodes: mfm.MfmNode[]): boolean { node.props.name === 'bounce' || node.props.name === 'rainbow' || node.props.name === 'sparkle' || + node.props.name === 'fade' || node.props.name === 'followmouse') { return true; } else { |