- timemarker name is moved up, when current frame equals to frame of timemarker

This commit is contained in:
Jiri Hnidek 2005-09-12 08:43:09 +00:00
parent a4ca8267cf
commit 45fe89364d

@ -154,7 +154,10 @@ static void draw_marker(TimeMarker *marker)
}
else {
BIF_ThemeColor(TH_TEXT);
glRasterPos2f(xpos+(4.0*(xspace/xpixels)), 17.0*yspace/ypixels);
if((marker->frame <= G.scene->r.cfra) && (marker->frame+5 > G.scene->r.cfra))
glRasterPos2f(xpos+(4.0*(xspace/xpixels)), 27.0*yspace/ypixels);
else
glRasterPos2f(xpos+(4.0*(xspace/xpixels)), 17.0*yspace/ypixels);
}
BMF_DrawString(G.font, marker->name);