Timeline: Fix region box drawing error.

pull/186/head
Jonathan Moore Liles 2015-09-18 17:25:48 -07:00
parent 319a393cd6
commit e42f0a9bd7
1 changed files with 2 additions and 2 deletions

View File

@ -226,12 +226,12 @@ public:
if ( _r->start + _r->length < timeline->xoffset )
rw = 0;
else
rw = timeline->ts_to_x( ( _r->start + _r->length ) - timeline->xoffset );
rw = timeline->ts_to_x( ( _r->start + _r->length ) - timeline->xoffset ) + 10;
}
else
rw = abs_w();
return (int)min( rw, (long)(_sequence->drawable_w() + 20) );
return (int)min( rw, (long)(_sequence->drawable_w()) + 20 );
}
int abs_x ( void ) const { return timeline->ts_to_x( _r->start ); }