mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
freehand draw: require left-to-right drawing
This commit is contained in:
parent
5c423d3dda
commit
c8819d73c8
1 changed files with 6 additions and 0 deletions
|
|
@ -7312,6 +7312,12 @@ FreehandLineDrag<OrderedPointList,OrderedPoint>::maybe_add_point (GdkEvent* ev,
|
|||
{
|
||||
timepos_t pos (cpos);
|
||||
|
||||
/* Enforce left-to-right drawing */
|
||||
|
||||
if (direction <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
_editor->snap_to_with_modifier (pos, ev);
|
||||
|
||||
if (pos != _drags->current_pointer_time()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue