Allow sensitivity to mouse to be changed
On laptop trackpads, panning across the canvas happens very quickly. I propose an advanced option that allows the user to increase or decrease mouse sensitivity
Comments (6)
-
repo owner -
reporter Is there a way to verify the update is downloaded? I have a ycircuit-develop_linux64_update.zip and a YCircuit_old file in my directory.
Presuming I have the updated version, I changed the lines as described. I didn't really notice a change. I should mention that the zooming sensitivity is very high as well. Light taps with 2 fingers (to zoom in and out) leads to large changes in the zoom level of the canvas.
Would it help if I downloaded the source code? I have all the dependencies other than PyQT5.
-
repo owner Hmm, then it's likely the case that the trackpad reports a lot more events than a regular mouse scroll wheel does. I'll look into this later, but for the meantime, you can play around with reducing the delta value to whatever makes it more usable.
-
repo owner The latest commit should address this. There's a new scroll sensitivity option under Options->Mouse. Let me know how it works.
-
reporter Yes, scrolling works quite well!
Zooming with two finger scroll is still sensitive, but in general I suppose it is preferable to use 'z' and 'Shift+z' to zoom.
-
repo owner I've added a separate sensitivity bar for the zoom as well. The low settings work well on my laptop.
- Log in to comment
There are two reasons why this could be happening that I can think of: either the trackpad reports a very high scroll value or it reports the value very often. If it's the former, we can fix it by setting the scroll value to a fixed value every time but the latter will need a more elaborate solution.
Once you download the update, you should have the .py files in your <YCircuit>/lib/src folder. Could you go in there and change lines 2257 and 2263 (on the develop branch) in drawingarea.py to read
and
respectively and see if that helps?