Browse Source

Oops. Fix label drawing offset.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
d3c62adde2
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      Track_Widget.H

+ 1
- 3
Track_Widget.H View File

@@ -75,7 +75,7 @@ public:
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 ); }


@@ -153,8 +153,6 @@ public:
}
}



/* fl_font( FL_HELVETICA, 14 ); */
/* fl_color( FL_BLACK ); */
/* fl_draw( label, X + 2, Y + 2, w(), h(), align ); */


Loading…
Cancel
Save