Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-05-03 16:09:28 +0300
committerJacques Lucke <mail@jlucke.com>2019-05-03 16:10:37 +0300
commit45ad6cd5a785733612e0b355df7426154f262308 (patch)
treef50d10f5da16a622e92fbaf8f4e93ef189fa1755 /source/blender/editors/space_graph
parent938ceb1508a2d78f8da4280476f25cdcc4d9ea23 (diff)
UI: Pass color id into view2d text drawing
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r--source/blender/editors/space_graph/space_graph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c
index 86d0b961a31..390ea0cf00b 100644
--- a/source/blender/editors/space_graph/space_graph.c
+++ b/source/blender/editors/space_graph/space_graph.c
@@ -316,8 +316,8 @@ static void graph_main_region_draw(const bContext *C, ARegion *ar)
UI_view2d_scrollers_free(scrollers);
/* scale numbers */
- UI_view2d_draw_scale_x__frames_or_seconds(ar, v2d, &v2d->hor, scene, display_seconds);
- UI_view2d_draw_scale_y__values(ar, v2d, &v2d->vert);
+ UI_view2d_draw_scale_x__frames_or_seconds(ar, v2d, &v2d->hor, scene, display_seconds, TH_TEXT);
+ UI_view2d_draw_scale_y__values(ar, v2d, &v2d->vert, TH_TEXT);
/* draw current frame number-indicator on top of scrollers */
if ((sipo->mode != SIPO_MODE_DRIVERS) && ((sipo->flag & SIPO_NODRAWCFRANUM) == 0)) {