On some OS X machines the lines on the opengl canvas were nearly illegible.
I'm guessing it was because they were being rendered as sub-pixel objects
Hopefully this'll fix those problems.
void GlSeqBrowser::draw_segments() const
{
- glLineWidth(0.1);
+ glLineWidth(1);
// each vector contains path_segment_maps of all the connections
// between this track and the next
path_segment_map_vector::const_iterator psmv_i;
void GlSequence::draw_annotations(GLfloat left, GLfloat right) const
{
// draw annotations
- glLineWidth(seq_height);
GLfloat annotation_z = seq_z + 1.0;
const std::list<annot>& annots = seq.annotations();
const std::list<motif>& motifs = seq.motifs();
{
// FIXME: basically this needs to be greater than the number of annotations
const GLfloat z = 30;
- glLineWidth(0.3);
+ glLineWidth(1);
glColor3fv(drawColor.get());
Sequence::const_iterator seq_itor = sequence_begin(left, right);