diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-05-03 16:09:28 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-05-03 16:10:37 +0300 |
commit | 45ad6cd5a785733612e0b355df7426154f262308 (patch) | |
tree | f50d10f5da16a622e92fbaf8f4e93ef189fa1755 /source/blender/editors/space_clip | |
parent | 938ceb1508a2d78f8da4280476f25cdcc4d9ea23 (diff) |
UI: Pass color id into view2d text drawing
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/space_clip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c index 542f99e49ee..5364c4bc3ca 100644 --- a/source/blender/editors/space_clip/space_clip.c +++ b/source/blender/editors/space_clip/space_clip.c @@ -1048,8 +1048,8 @@ static void graph_region_draw(const bContext *C, ARegion *ar) /* scale indicators */ UI_view2d_draw_scale_x__discrete_frames_or_seconds( - ar, v2d, &v2d->hor, scene, sc->flag & SC_SHOW_SECONDS); - UI_view2d_draw_scale_y__values(ar, v2d, &v2d->vert); + ar, v2d, &v2d->hor, scene, sc->flag & SC_SHOW_SECONDS, TH_TEXT); + UI_view2d_draw_scale_y__values(ar, v2d, &v2d->vert, TH_TEXT); /* current frame indicator */ if (sc->flag & SC_SHOW_SECONDS) { @@ -1100,7 +1100,7 @@ static void dopesheet_region_draw(const bContext *C, ARegion *ar) /* frame numbers */ UI_view2d_draw_scale_x__discrete_frames_or_seconds( - ar, v2d, &v2d->hor, scene, sc->flag & SC_SHOW_SECONDS); + ar, v2d, &v2d->hor, scene, sc->flag & SC_SHOW_SECONDS, TH_TEXT); /* current frame number indicator */ UI_view2d_view_orthoSpecial(ar, v2d, 1); |