mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix thinko wrt Drag::adjusted_frame()
This commit is contained in:
parent
650c1381d4
commit
970ed12fee
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ Drag::end_grab (GdkEvent* event)
|
||||||
MusicFrame
|
MusicFrame
|
||||||
Drag::adjusted_frame (framepos_t f, GdkEvent const * event, bool snap) const
|
Drag::adjusted_frame (framepos_t f, GdkEvent const * event, bool snap) const
|
||||||
{
|
{
|
||||||
MusicFrame pos (f, 0);
|
MusicFrame pos (0, 0);
|
||||||
|
|
||||||
if (f > _pointer_frame_offset) {
|
if (f > _pointer_frame_offset) {
|
||||||
pos.frame = f - _pointer_frame_offset;
|
pos.frame = f - _pointer_frame_offset;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue