Skip to content

Commit 3cc30da

Browse files
committed
added group-children pseudo
1 parent f31f4e0 commit 3cc30da

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
lib
3-
.astro
3+
.astro
4+
dist

src/panel/full-control.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function control() {
6161

6262
export function namesOfAnimation(animation: Animation) {
6363
const names = animation.effect?.pseudoElement
64-
?.replace(/::view-transition-(new|old|group|image-pair)\((.*)\)/, '$1 $2')
64+
?.replace(/::view-transition-(group|image-pair|old|new|group-children)\((.*)\)/, '$1 $2')
6565
.split(' ');
6666
return { pseudoName: names?.[0], viewTransitionName: names?.[1] };
6767
}

0 commit comments

Comments
 (0)