File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ class UserGui {
633633 return ;
634634 }
635635
636- const fadeInSpeedMs = 250 ;
636+ const fadeInSpeedMs = 400 ;
637637
638638 let left = 0 , top = 0 ;
639639
@@ -654,7 +654,7 @@ class UserGui {
654654 height: ${ this . settings . window . size . height } ;
655655 border: 0;
656656 opacity: 0;
657- transition: all ${ 500 / 1000 } s;
657+ transition: all ${ fadeInSpeedMs / 1000 } s;
658658 border-radius: 5px;
659659 box-shadow: rgb(0 0 0 / 6%) 10px 10px 10px;
660660 z-index: 2147483647;
@@ -669,8 +669,8 @@ class UserGui {
669669
670670 iframe . contentWindow . onload = ( ) => {
671671 // Fade-in implementation
672- iframe . style [ "opacity" ] = "1" ;
673- setTimeout ( ( ) => iframe . style [ "transition" ] = "none" , fadeInSpeedMs ) ;
672+ setTimeout ( ( ) => iframe . style [ "opacity" ] = "1" , fadeInSpeedMs / 2 ) ;
673+ setTimeout ( ( ) => iframe . style [ "transition" ] = "none" , fadeInSpeedMs + 500 ) ;
674674
675675 this . window = iframe . contentWindow ;
676676 this . document = iframe . contentDocument ;
You can’t perform that action at this time.
0 commit comments