8 new, 2 modified patches.
[webos-internals:imagineer1981s-modifications.git] / browser / browser-disable-landscape-gesture-scroll.patch
1 Name: Disable Landscape Gesture Scroll 
2 Version: 1.3.5-1
3 Author: Fritos1406
4 Description: Disable the scroll feature using the gesture area in landscape
5
6 --- .orig/usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
7 +++ /usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
8 @@ -90,7 +90,7 @@
9                 this._updateOrientation();
10  
11                 // Allow override of 'back' gesture in landscape mode.
12 -               this.controller.useLandscapePageUpDown(true);
13 +               this.controller.useLandscapePageUpDown(false);
14  
15                 // Create the browser server status control.
16                 this._browserServerStatus = new BrowserServerStatus(this.controller);
17 --- .orig/usr/palm/applications/com.palm.app.browser/app/controllers/startpage-assistant.js
18 +++ /usr/palm/applications/com.palm.app.browser/app/controllers/startpage-assistant.js
19 @@ -23,7 +23,7 @@
20         this._updateOrientation();
21  
22         // Allow override of 'back' gesture in landscape mode.
23 -       this.controller.useLandscapePageUpDown(true);
24 +       this.controller.useLandscapePageUpDown(false);
25  
26         // Listen for scene scope keyboard events.
27         this.controller.listen(this.controller.sceneElement, Mojo.Event.keydown, this._onKeyDownEventHandler);
28