hardbyte / hardbyte/python-can

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

オープン
#1,407 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
1.6k
フォーク
697
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。