Bug 590246 - Swap meanings of up/down swipe gestures [r=mfinkle].

--HG--
extra : rebase_source : 8eed7e2ad46b7a12c708a9ac2a3ecc025fbea95b
This commit is contained in:
Matt Brubeck 2010-08-25 10:14:05 -07:00
Родитель d54775ff3d
Коммит 66ff6b3ab2
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1243,10 +1243,10 @@ GestureModule.prototype = {
let gesture = Ci.nsIDOMSimpleGestureEvent;
switch (aEvent.direction) {
case gesture.DIRECTION_UP:
Browser.scrollContentToTop();
Browser.scrollContentToBottom();
break;
case gesture.DIRECTION_DOWN:
Browser.scrollContentToBottom();
Browser.scrollContentToTop();
break;
case gesture.DIRECTION_LEFT:
CommandUpdater.doCommand("cmd_back");