UI: use Ctrl-TrackPad to cycle values

Minor change missing from 9bfea67751

Ref D8530
This commit is contained in:
Yevgeny Makarov
2020-10-09 13:59:32 +11:00
committed by Campbell Barton
parent f735491b9f
commit b96f1f8091
@@ -4998,7 +4998,7 @@ static int ui_do_but_NUM(
}
/* XXX hardcoded keymap check.... */
if (type == MOUSEPAN && event->alt) {
if (type == MOUSEPAN && event->ctrl) {
/* allow accumulating values, otherwise scrolling gets preference */
retval = WM_UI_HANDLER_BREAK;
}
@@ -5310,7 +5310,7 @@ static int ui_do_but_SLI(
}
/* XXX hardcoded keymap check.... */
if (type == MOUSEPAN && event->alt) {
if (type == MOUSEPAN && event->ctrl) {
/* allow accumulating values, otherwise scrolling gets preference */
retval = WM_UI_HANDLER_BREAK;
}