1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

Piano: Handle octave slider jumps of greater than 1

The previous slider handler relied on the new value being 1 different
than the previous.

fixes #1163.
This commit is contained in:
Peter Elliott 2020-07-06 14:52:29 -06:00 committed by Andreas Kling
parent 0fd31ef598
commit b8cf07166f
5 changed files with 20 additions and 1 deletions

View file

@ -45,6 +45,7 @@ public:
void add_actions(GUI::Menu&);
void set_octave_and_ensure_note_change(Direction);
void set_octave_and_ensure_note_change(int);
private:
explicit MainWidget(TrackManager&);