diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-05-22 14:36:23 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-05-22 14:36:23 +0300 |
commit | f5c682045dc61d038915dbb301bd7db2a04fb299 (patch) | |
tree | 986cb061993a5f457386548dcbbd5b5673199c2b /source/blender/editors/interface/interface_handlers.c | |
parent | fbbc0229b85676093e498cc8c23d196ae65c014f (diff) | |
parent | 4066c921fbe5777271bebe1055bfd525f4c6dcfa (diff) |
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 6db21ea93a5..eb99d044e17 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -5559,7 +5559,7 @@ static int ui_do_but_BLOCK(bContext *C, uiBut *but, uiHandleButtonData *data, co } else if (but->type == UI_BTYPE_MENU) { if (ELEM(event->type, WHEELDOWNMOUSE, WHEELUPMOUSE) && event->ctrl) { - const int direction = (event->type == WHEELDOWNMOUSE) ? -1 : 1; + const int direction = (event->type == WHEELDOWNMOUSE) ? 1 : -1; data->value = ui_but_menu_step(but, direction); |