Skip to content

Commit

Permalink
set speaking indicator to fade in instantly
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and jamiebuilds-signal committed Mar 8, 2023
1 parent 7a6bfe5 commit d3f624b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stylesheets/_modules.scss
Expand Up @@ -3981,16 +3981,16 @@ button.module-image__border-overlay:focus {
border: 0 solid transparent;
border-radius: 5px;
transition-property: border-width, border-color;
// Slow down the transition when the user stops speaking.
// Turn on the transition when the user stops speaking to fade out.
transition-duration: 300ms;
transition-delay: 1000ms;
transition-timing-function: ease-in-out;
}
&--speaking:after {
border-width: 3px;
border-color: $color-white;
// Speed up the transition when the user starts speaking.
transition-duration: 50ms;
// Turn off the transition when the user starts speaking to appear instantly
transition-duration: 0ms;
transition-delay: 0ms;
}

Expand Down

0 comments on commit d3f624b

Please sign in to comment.