hardbyte / hardbyte/python-can

can.viewer increments count and reset dt when scroll is used

Abierto
#1,407 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
1.6k
Forks
697
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Describe the bug
every time the function 'scroll' is used, either with the keyboard or the mouse wheel, Count value is increased, and dt value is reset.

### To Reproduce
* Start can.viewer as usual : `python -m can.viewer -c can0 -i socketcan -b 1000000`
* Reduce the size of the terminal in order to have more frames than the terminal can show.
* Used the scroll function, with up or down key, or with the mouse wheel

### Expected behavior
Count and dt values doesn't changed on scroll

### Additional context

OS and version:Fedora 36
Python version:3.10.7
python-can version:4.0.0
python-can interface/s (if applicable):socketcan

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.