Oops. Fix label drawing offset.
This commit is contained in:
parent
aae8753db1
commit
d3c62adde2
|
@ -75,7 +75,7 @@ public:
|
||||||
return min( rw, _track->w() );
|
return min( rw, _track->w() );
|
||||||
}
|
}
|
||||||
|
|
||||||
int abs_x ( void ) const { return timeline->ts_to_x( timeline->xoffset ); }
|
int abs_x ( void ) const { return timeline->ts_to_x( _offset ); }
|
||||||
virtual int abs_w ( void ) const { return timeline->ts_to_x( _end - _start ); }
|
virtual int abs_w ( void ) const { return timeline->ts_to_x( _end - _start ); }
|
||||||
|
|
||||||
|
|
||||||
|
@ -153,8 +153,6 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* fl_font( FL_HELVETICA, 14 ); */
|
/* fl_font( FL_HELVETICA, 14 ); */
|
||||||
/* fl_color( FL_BLACK ); */
|
/* fl_color( FL_BLACK ); */
|
||||||
/* fl_draw( label, X + 2, Y + 2, w(), h(), align ); */
|
/* fl_draw( label, X + 2, Y + 2, w(), h(), align ); */
|
||||||
|
|
Loading…
Reference in New Issue