mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
update: quick scroll trigger
This commit is contained in:
parent
10e5165227
commit
3d819abc5d
@ -785,7 +785,7 @@ void Viewport::mouseReleaseEvent(QMouseEvent *event)
|
|||||||
if (isMaxWindow && mvk > 0.4f){
|
if (isMaxWindow && mvk > 0.4f){
|
||||||
quickScroll = true;
|
quickScroll = true;
|
||||||
}
|
}
|
||||||
else if (!isMaxWindow && mvk > 0.5f){
|
else if (!isMaxWindow && mvk > 0.25f){
|
||||||
quickScroll = true;
|
quickScroll = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user