зеркало из https://github.com/mozilla/gecko-dev.git
Bug 590246 - Swap meanings of up/down swipe gestures [r=mfinkle].
--HG-- extra : rebase_source : 8eed7e2ad46b7a12c708a9ac2a3ecc025fbea95b
This commit is contained in:
Родитель
d54775ff3d
Коммит
66ff6b3ab2
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче