diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-06-19 12:49:19 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-06-19 12:49:56 +0300 |
commit | c564d847efa6b933066c4fc02558d627bca401a4 (patch) | |
tree | f958f734241c33405d8052ec143ac577ed23ed78 /source/blender/editors/space_action/action_draw.c | |
parent | 8f922b30b0f92f16d096cb0be60cd85d8376807a (diff) |
Show cached frames in timeline at correct height
The line was covered by the horizontal scrollbar instead of drawn above
it.
Diffstat (limited to 'source/blender/editors/space_action/action_draw.c')
-rw-r--r-- | source/blender/editors/space_action/action_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index 7c8be943a87..35ebb62a7cc 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -436,7 +436,7 @@ void timeline_draw_cache(SpaceAction *saction, Object *ob, Scene *scene) continue; gpuPushMatrix(); - gpuTranslate2f(0.0, (float)V2D_SCROLL_HEIGHT + yoffs); + gpuTranslate2f(0.0, (float)V2D_SCROLL_HEIGHT_TEXT + yoffs); gpuScale2f(1.0, cache_draw_height); switch (pid->type) { |