Read-only mirror of https://gitlab.gnome.org/GNOME/gnome-shell
82ec6c08b8
We often call goToPage like: this.goToPage(this._currentPage - 1); (or + 1). During panning, these are based on the velocity values of the gesture action. If we're already on the first or last page and the panning ends, it's possible to get goToPage that's either -1 or greater than the last page. During normal usage, this isn't a problem, since the Y values will be correct, always. But when panning, the Y values stick to the finger, and thus if we return early, we won't snap to the exact page, making it seem like things get "stuck". Fix this the simple way by clamping to the correctly-ranged values of pageNumber https://bugzilla.gnome.org/show_bug.cgi?id=729064 |
||
---|---|---|
.settings | ||
browser-plugin | ||
data | ||
docs | ||
js | ||
man | ||
po | ||
src | ||
tests | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.project | ||
AUTHORS | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
gnome-shell.doap | ||
HACKING | ||
MAINTAINERS | ||
Makefile.am | ||
NEWS | ||
README |
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience. For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see: https://wiki.gnome.org/Projects/GnomeShell Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' product. License ======= GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.