diff options
author | Ton Roosendaal <ton@blender.org> | 2010-11-29 20:10:46 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-11-29 20:10:46 +0300 |
commit | 01169dd63203e0080796c45f464dbcb92d427280 (patch) | |
tree | 4638aa2c7f8260a6a96fa25496200325ae829b3d /source/blender/editors/space_outliner/space_outliner.c | |
parent | 7286b7a7ca8f7544bb527291fcadf7f81b2bd58c (diff) |
Bugfix #24971
Outliner: if bottom slider was hidden, you still could not click there
on items. Code was using region-mask to clip input, but the mask is not
adjusted for sliders now (keeps view same).
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index f31910d8289..8bb49b85271 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -60,7 +60,8 @@ static void outliner_main_area_init(wmWindowManager *wm, ARegion *ar) /* own keymap */ keymap= WM_keymap_find(wm->defaultconf, "Outliner", SPACE_OUTLINER, 0); - WM_event_add_keymap_handler_bb(&ar->handlers, keymap, &ar->v2d.mask, &ar->winrct); + /* don't pass on view2d mask, it's always set with scrollbar space, hide fails */ + WM_event_add_keymap_handler_bb(&ar->handlers, keymap, NULL, &ar->winrct); } static void outliner_main_area_draw(const bContext *C, ARegion *ar) |