851a1e30fa
The swipeTracker wants the distance between two pages passed to it in confirmSwipe(). In case of the app grid, the correct distance is not the size of the scrollView (which has the width of the whole screen), but instead the allocation size of the iconGrid (which is the actual size of a page in the grid). So pass the allocation size of the iconGrid to the swipeTracker, this makes sure the pages move perfectly in sync with the pointer when dragging using the mouse or touchscreen. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2275> |
||
---|---|---|
.. | ||
dbusServices | ||
gdm | ||
misc | ||
perf | ||
portalHelper | ||
ui | ||
js-resources.gresource.xml | ||
meson.build | ||
portal-resources.gresource.xml |