Skip to content

Commit

Permalink
Smooth scroll increments improved
Browse files Browse the repository at this point in the history
no longer scales with thumbail size
  • Loading branch information
Bastian Bechtold committed Aug 20, 2024
1 parent aa0ae4d commit 40ab567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtgtk/thumbtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ static gboolean _event_scroll_compressed(gpointer user_data)
// precision touch pads generate float increments, scroll by pixel delta:
else {
// scale scroll increment for an appropriate scroll speed
delta *= table->thumb_size;
delta *= 50;
_move(table, 0, -delta, TRUE);
}

Expand Down

0 comments on commit 40ab567

Please sign in to comment.