mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 08:17:58 +01:00
reverted scroll window.content patch for now (untested)
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -12,4 +12,5 @@ Patches:
|
|||||||
* Lee Hinman (:open ./.. support)
|
* Lee Hinman (:open ./.. support)
|
||||||
* Bart Trojanowski (Makefile)
|
* Bart Trojanowski (Makefile)
|
||||||
* Hannes Rist (:set titlestring support)
|
* Hannes Rist (:set titlestring support)
|
||||||
|
* Marco Candrian (shift-insert patch)
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
@@ -1299,8 +1299,8 @@ function getCurrentTitle()
|
|||||||
|
|
||||||
function scrollBufferRelative(right, down)
|
function scrollBufferRelative(right, down)
|
||||||
{
|
{
|
||||||
//var win = window.document.commandDispatcher.focusedWindow;
|
var win = window.document.commandDispatcher.focusedWindow;
|
||||||
var win = window.content;
|
//var win = window.content; // XXX: This would fix scrolling when the tab has focus, but breaks when it has frames --MST
|
||||||
if (vimperator.input.count < 1)
|
if (vimperator.input.count < 1)
|
||||||
vimperator.input.count = 1;
|
vimperator.input.count = 1;
|
||||||
|
|
||||||
@@ -1329,8 +1329,8 @@ function scrollBufferRelative(right, down)
|
|||||||
/* both values are given in percent, -1 means no change */
|
/* both values are given in percent, -1 means no change */
|
||||||
function scrollBufferAbsolute(horizontal, vertical)
|
function scrollBufferAbsolute(horizontal, vertical)
|
||||||
{
|
{
|
||||||
//var win = document.commandDispatcher.focusedWindow;
|
var win = document.commandDispatcher.focusedWindow;
|
||||||
var win = window.content;
|
//var win = window.content;
|
||||||
var horiz, vert;
|
var horiz, vert;
|
||||||
|
|
||||||
if (horizontal < 0)
|
if (horizontal < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user