diff options
-rw-r--r-- | source/blender/editors/space_console/space_console.c | 3 | ||||
-rw-r--r-- | source/blender/editors/space_info/space_info.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/space_console/space_console.c b/source/blender/editors/space_console/space_console.c index 4243ae4e2df..ace39f8d669 100644 --- a/source/blender/editors/space_console/space_console.c +++ b/source/blender/editors/space_console/space_console.c @@ -138,6 +138,9 @@ static void console_main_area_init(wmWindowManager *wm, ARegion *ar) const float prev_y_min = ar->v2d.cur.ymin; /* so re-sizing keeps the cursor visible */ + /* force it on init, for old files, until it becomes config */ + ar->v2d.scroll = (V2D_SCROLL_RIGHT); + UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_CUSTOM, ar->winx, ar->winy); /* always keep the bottom part of the view aligned, less annoying */ diff --git a/source/blender/editors/space_info/space_info.c b/source/blender/editors/space_info/space_info.c index a3eb7c06876..1f59eedd819 100644 --- a/source/blender/editors/space_info/space_info.c +++ b/source/blender/editors/space_info/space_info.c @@ -129,6 +129,9 @@ static void info_main_area_init(wmWindowManager *wm, ARegion *ar) { wmKeyMap *keymap; + /* force it on init, for old files, until it becomes config */ + ar->v2d.scroll = (V2D_SCROLL_RIGHT); + UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_CUSTOM, ar->winx, ar->winy); /* own keymap */ |