Commit: 985c0cd39f14a200a9748f6a3705602caabfc6b8
Author: Julian Eisel
Date:   Sat Aug 12 18:14:22 2017 +0200
Branches: topbar
https://developer.blender.org/rB985c0cd39f14a200a9748f6a3705602caabfc6b8

Fix touchpad scrolling not working in topbar

===================================================================

M       source/blender/editors/space_topbar/space_topbar.c

===================================================================

diff --git a/source/blender/editors/space_topbar/space_topbar.c 
b/source/blender/editors/space_topbar/space_topbar.c
index 198699826c7..1776df3f61d 100644
--- a/source/blender/editors/space_topbar/space_topbar.c
+++ b/source/blender/editors/space_topbar/space_topbar.c
@@ -243,7 +243,7 @@ void ED_spacetype_topbar(void)
        art->draw = topbar_main_region_draw;
        art->listener = topbar_main_region_listener;
        art->prefsizex = UI_UNIT_X * 5; /* Mainly to avoid glitches */
-       art->keymapflag = ED_KEYMAP_UI;
+       art->keymapflag = ED_KEYMAP_UI | ED_KEYMAP_VIEW2D | ED_KEYMAP_HEADER;
 
        BLI_addhead(&st->regiontypes, art);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to