UI: initialize drag-lock x/y axis from region type
authorCampbell Barton <ideasman42@gmail.com>
Fri, 23 Nov 2018 08:12:34 +0000 (19:12 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 23 Nov 2018 08:12:34 +0000 (19:12 +1100)
commit2ded8fca7941a7092b80dc66d423056b1483afef
tree2fa36b33d19db9da6a951b5fca1d69dab17df6ac
parent4ed7c10a329f4a1900e0a3783d3eb478a0e12129
UI: initialize drag-lock x/y axis from region type

When dragging in a vertical or horizontal region,
there is no need to detect the drag axis.

Gives minor usability improvement for dragging over vertical tabs.
source/blender/editors/interface/interface_handlers.c