PKBeam / Edda

A beatmap editor for the VR rhythm game Ragnarock
GNU General Public License v3.0
34 stars 8 forks source link

Implement scroll wheel hold #102

Closed Brollyy closed 9 months ago

Brollyy commented 10 months ago

Idea from Mrnaris on Discord:

I don't know how possible it is but it would be good to have the scroll wheel hold feature on Edda, that way navigating through the chart would be a lot easier.

This feature should behave the same way it does in browsers ideally, with both of those holds being supported:

  1. Click mouse wheel (middle button), move the mouse up or down from the original position to scroll, with the distance from the start dictates the speed of scrolling, clicking mouse wheel again exits the hold.
  2. Hold mouse wheel, move the mouse up or down to scroll, release when done.

Here's some basic implementation of that feature in WPF that I've found - could use some work, but will be a good starting point.