From 7a0bdbc55016d287278b6818f26dc096eeb9c098 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 30 Apr 2013 15:17:20 +0000 Subject: Bug fix #35151 NLA editor: the channel list and the main area were not perfectly aligned, and could jump a bit around. Easy fix. --- source/blender/editors/space_nla/space_nla.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/space_nla') diff --git a/source/blender/editors/space_nla/space_nla.c b/source/blender/editors/space_nla/space_nla.c index ccf60000993..d0773bfe818 100644 --- a/source/blender/editors/space_nla/space_nla.c +++ b/source/blender/editors/space_nla/space_nla.c @@ -206,6 +206,9 @@ static void nla_channel_area_init(wmWindowManager *wm, ARegion *ar) { wmKeyMap *keymap; + /* ensure the 2d view sync works - main region has bottom scroller */ + ar->v2d.scroll = V2D_SCROLL_BOTTOM; + UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_LIST, ar->winx, ar->winy); /* own keymap */ -- cgit v1.2.3