Skip to content
Snippets Groups Projects
Commit 1150a844 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

tools: display the discrete axis steps too


Draw a second smaller scroll bar that moves with every discrete step. For that
to work, we have to accumulate the value from the normal scroll events until
we get the first discrete one, then move up.

The value per discrete event changes depending on the click wheel angle, so we
can't just use discrete on its own if we want the two scroll bars aligned.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent d213804d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment