diff options
author | Ton Roosendaal <ton@blender.org> | 2013-02-10 18:59:38 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-02-10 18:59:38 +0400 |
commit | 6b2b55c45361262f7c6608d0c0f5a164f7a1928a (patch) | |
tree | 41f2073b1c4bd516f3618762f278577944ef3684 /source | |
parent | 3778b458298b35a5b84180298cf15bc834e781aa (diff) |
Scroller initialize for Image Window regions too.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 35ba83a8bc6..ca8270ba0f5 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -750,6 +750,7 @@ static void image_buttons_area_init(wmWindowManager *wm, ARegion *ar) { wmKeyMap *keymap; + ar->v2d.scroll = V2D_SCROLL_RIGHT | V2D_SCROLL_VERTICAL_HIDE; ED_region_panels_init(wm, ar); keymap = WM_keymap_find(wm->defaultconf, "Image Generic", SPACE_IMAGE, 0); @@ -789,6 +790,7 @@ static void image_scope_area_init(wmWindowManager *wm, ARegion *ar) { wmKeyMap *keymap; + ar->v2d.scroll = V2D_SCROLL_RIGHT | V2D_SCROLL_VERTICAL_HIDE; ED_region_panels_init(wm, ar); keymap = WM_keymap_find(wm->defaultconf, "Image Generic", SPACE_IMAGE, 0); |