Disable vertical autoscroll for UI elements where it doesn't make sense
Fixes issue 6396 as well as a few other instances where autoscroll could be annoying
This commit is contained in:
parent
a974a3135e
commit
0cfee47867
@ -565,6 +565,10 @@ public:
|
|||||||
void finished (GdkEvent *, bool);
|
void finished (GdkEvent *, bool);
|
||||||
void aborted (bool);
|
void aborted (bool);
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MidiRegionView* region;
|
MidiRegionView* region;
|
||||||
bool relative;
|
bool relative;
|
||||||
@ -585,6 +589,11 @@ public:
|
|||||||
void aborted (bool);
|
void aborted (bool);
|
||||||
|
|
||||||
void setup_pointer_sample_offset ();
|
void setup_pointer_sample_offset ();
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
double total_dx (GdkEvent * event) const; // total movement in quarter notes
|
double total_dx (GdkEvent * event) const; // total movement in quarter notes
|
||||||
@ -615,6 +624,10 @@ public:
|
|||||||
return mode == Editing::MouseDraw || mode == Editing::MouseContent;
|
return mode == Editing::MouseDraw || mode == Editing::MouseContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
bool y_movement_matters () const {
|
bool y_movement_matters () const {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -681,6 +694,10 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void setup_pointer_sample_offset ();
|
void setup_pointer_sample_offset ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -749,6 +766,10 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void setup_pointer_sample_offset ();
|
void setup_pointer_sample_offset ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -957,6 +978,10 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void setup_pointer_sample_offset ();
|
void setup_pointer_sample_offset ();
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -975,6 +1000,10 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void setup_pointer_sample_offset ();
|
void setup_pointer_sample_offset ();
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1031,6 +1060,11 @@ public:
|
|||||||
|
|
||||||
bool active (Editing::MouseMode m);
|
bool active (Editing::MouseMode m);
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
ControlPoint* _point;
|
ControlPoint* _point;
|
||||||
@ -1054,6 +1088,10 @@ public:
|
|||||||
void finished (GdkEvent *, bool);
|
void finished (GdkEvent *, bool);
|
||||||
void aborted (bool);
|
void aborted (bool);
|
||||||
|
|
||||||
|
bool allow_vertical_autoscroll () const {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
AutomationLine* _line;
|
AutomationLine* _line;
|
||||||
|
Loading…
Reference in New Issue
Block a user