Set uninitialized variable (fix playhead dragging)

This commit is contained in:
Robin Gareus 2021-05-21 17:57:56 +02:00
parent 6733a847ee
commit fd3220c3d7
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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;
}