Browse Source

Remove jitter from region track jumping.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
64f18c7585
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      Region.C

+ 4
- 2
Region.C View File

@@ -229,13 +229,15 @@ Region::handle ( int m )
if ( Y > y() + h() )
{
if ( _track->next() )
_track->next()->add( this );
if ( Y > _track->next()->y() )
_track->next()->add( this );
}
else
if ( Y < y() )
{
if ( _track->prev() )
_track->prev()->add( this );
if ( Y < _track->prev()->y() + _track->prev()->h() )
_track->prev()->add( this );
}

_track->redraw();


Loading…
Cancel
Save