fix(camera): la animacion inline pisaba las hormigas de la clase
El boton conservaba animation:'none' inline fuera del estado requesting, y el estilo inline gana a la clase: .velxio-ants quedaba con animationName none — medido con getComputedStyle en staging. Inline solo mientras solicita permiso; en el resto, undefined para que la clase anime.
This commit is contained in:
parent
9d8cc0976f
commit
a7015239b3
|
|
@ -125,10 +125,13 @@ export const CameraToggle: React.FC<CameraToggleProps> = ({ boardId }) => {
|
|||
color,
|
||||
fontSize: 13,
|
||||
cursor: boardId ? 'pointer' : 'not-allowed',
|
||||
// Inline only while requesting. 'none' here would OVERRIDE the
|
||||
// .velxio-ants class animation (inline beats class), which is exactly
|
||||
// how the ants shipped dead the first time.
|
||||
animation:
|
||||
status === 'requesting'
|
||||
? 'velxio-pulse 1s ease-in-out infinite'
|
||||
: 'none',
|
||||
: undefined,
|
||||
}}
|
||||
>
|
||||
<svg
|
||||
|
|
|
|||
Loading…
Reference in New Issue