diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-26 16:44:31 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-26 16:44:31 +0400 |
commit | 83a6b331a75580f9eab24f4fe0b3fd6a1db9fab9 (patch) | |
tree | 5db64f90780dd8d5a9e23ff8639be491d9c6e3b3 /source/blender/editors/interface/interface_widgets.c | |
parent | db57cbac20bb513ba688c5cfb2655d8753a89aab (diff) |
Fix #29895 Fast Alt-Mousewheel toggling of Mapping Modes scrubs timeline
Issue was caused by changing button state to EXIT, so there's no active button just after
applying Alt-Wheel event. Setting this state is needed to prevent button trigger cancel
callback when mouse is leaving hovered menu button.
Using the same "post activate" trick used by Tab button allows to make prevent canceling
button and makes this button active again after applying all handlers.
There's still issues with Alt-Scroll if changing active element in menu leads to interface
changes (like file format in render buttons) -- in this case button simple doesn't receive
wheel events and it's actually not connected to this issue.
Diffstat (limited to 'source/blender/editors/interface/interface_widgets.c')
0 files changed, 0 insertions, 0 deletions