2
0
forked from Ivasoft/DSView

update: scroll trigger coefficient

This commit is contained in:
dreamsourcelabTAI
2022-05-27 19:43:39 +08:00
parent c204a072f8
commit 10e5165227
2 changed files with 3 additions and 3 deletions

View File

@@ -782,10 +782,10 @@ void Viewport::mouseReleaseEvent(QMouseEvent *event)
if (quickScroll){ if (quickScroll){
quickScroll = false; quickScroll = false;
if (isMaxWindow && mvk > 0.5f){ if (isMaxWindow && mvk > 0.4f){
quickScroll = true; quickScroll = true;
} }
else if (!isMaxWindow && mvk > 0.6f){ else if (!isMaxWindow && mvk > 0.5f){
quickScroll = true; quickScroll = true;
} }
} }

View File

@@ -34,7 +34,7 @@ class Decoder(srd.Decoder):
outputs = [] outputs = []
tags = ['Automotive'] tags = ['Automotive']
channels = ( channels = (
{'id': 'can_rx', 'name': 'CAN RX', 'desc': 'CAN bus line'}, {'id': 'can_rx', 'name': 'CAN', 'desc': 'CAN bus line'},
) )
options = ( options = (
{'id': 'bitrate', 'desc': 'Bitrate (bits/s)', 'default': 1000000}, {'id': 'bitrate', 'desc': 'Bitrate (bits/s)', 'default': 1000000},