mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Set uninitialized variable (fix playhead dragging)
This commit is contained in:
parent
6733a847ee
commit
fd3220c3d7
1 changed files with 3 additions and 0 deletions
|
|
@ -4118,6 +4118,9 @@ CursorDrag::start_grab (GdkEvent* event, Gdk::Cursor* c)
|
|||
|
||||
fake_locate (where.sample - snap_delta (event->button.state));
|
||||
|
||||
_last_mx = event->button.x;
|
||||
_last_my = event->button.y;
|
||||
_last_dx = 0;
|
||||
_last_y_delta = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue