mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-19 17:22:30 +02:00
Don't push pass through mode multiple times. Closes issue #641.
This commit is contained in:
1 parent
05eac8c5c3
commit
4579a1fd16
4 files changed
+21
-8
No files matched your search
@@ -1586,7 +1586,10 @@ var Events = Module("events", {
|
||||
|
||||
mappings.add([modes.MAIN],
|
||||
["<C-z>", "<pass-all-keys>"], "Temporarily ignore all " + config.appName + " key bindings",
|
||||
function () { modes.push(modes.PASS_THROUGH); });
|
||||
function () {
|
||||
if (modes.main != modes.PASS_THROUGH)
|
||||
modes.push(modes.PASS_THROUGH);
|
||||
});
|
||||
|
||||
mappings.add([modes.MAIN, modes.PASS_THROUGH, modes.QUOTE],
|
||||
["<C-v>", "<pass-next-key>"], "Pass through next key",
|
||||
|
||||
Reference in new issue
Block a user