switcherPopup: Use correct scroll-direction property

The correct property for the scroll-direction with scrolling events is
`direction`, no `scroll_direction`. This fixes scrolling in the alt-tab
popup, which broke with the actorization changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167
This commit is contained in:
Jonas Dreßler 2020-01-15 17:04:07 +01:00 committed by Florian Müllner
parent 09acd0a3db
commit 023859ee4b

View File

@ -230,7 +230,7 @@ var SwitcherPopup = GObject.registerClass({
vfunc_scroll_event(scrollEvent) {
this._disableHover();
this._scrollHandler(scrollEvent.scroll_direction);
this._scrollHandler(scrollEvent.direction);
return Clutter.EVENT_PROPAGATE;
}