From 271ec9ff53e7ace452bba0a0aa6000eb5b7a7307 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 4 Jun 2019 10:53:12 +1000 Subject: Cleanup: rename 2D scroll defines - Use `V2D_SCROLL_` prefix. - Use more descriptive names. --- source/blender/editors/space_action/action_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_action') diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index f32207fe08b..a7b6f399187 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -411,7 +411,7 @@ void timeline_draw_cache(SpaceAction *saction, Object *ob, Scene *scene) } GPU_matrix_push(); - GPU_matrix_translate_2f(0.0, (float)V2D_SCROLL_HEIGHT_HANDLES + yoffs); + GPU_matrix_translate_2f(0.0, (float)V2D_SCROLL_HANDLE_HEIGHT + yoffs); GPU_matrix_scale_2f(1.0, cache_draw_height); switch (pid->type) { -- cgit v1.2.3