- 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,6 +154,9 @@ static void draw_marker(TimeMarker *marker)
}
else {
BIF_ThemeColor(TH_TEXT);
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);
}