1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 02:37:58 +01:00

made selecting messages in muttator faster when holding j or k

This commit is contained in:
Martin Stubenschrott
2008-04-29 17:55:36 +00:00
parent 8959ed188b
commit ff5abe1d1c
2 changed files with 6 additions and 1 deletions

View File

@@ -382,7 +382,9 @@ liberator.Mail = function ()
if (count == 0)
{
gDBView.selectMsgByKey(key);
// gDBView.selectMsgByKey(key);
gDBView.selection.timedSelect(i, GetThreadTree()._selectDelay || 500);
GetThreadTree().treeBoxObject.ensureRowIsVisible(i);
return;
}
}

View File

@@ -87,6 +87,9 @@ liberator.config = {
liberator.mappings.add([liberator.modes.NORMAL],
["o"], "Open a message",
function () { liberator.commandline.open(":", "open ", liberator.modes.EX); });
// don't wait too long when selecting new messages
GetThreadTree()._selectDelay = 250; // TODO: make configurable
}
}