Skip to content

Commit c965146

Browse files
authored
fix(inspector): prevent blinking after toggling dark (#5023)
1 parent 9bc75da commit c965146

File tree

1 file changed

+1
-0
lines changed
  • packages-integrations/inspector/client/components

1 file changed

+1
-0
lines changed

packages-integrations/inspector/client/components/NarBar.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function toggleDark(event?: MouseEvent) {
3838
{
3939
duration: 400,
4040
easing: 'ease-in',
41+
fill: 'forwards',
4142
pseudoElement: isDark.value
4243
? '::view-transition-old(root)'
4344
: '::view-transition-new(root)',

0 commit comments

Comments
 (0)