1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-14 23:03:40 +01:00

Shuffle some key bindings and mode inheritance around.

This commit is contained in:
Kris Maglione
2011-03-14 13:05:15 -04:00
parent 0eb30aa83f
commit e6104b3029
3 changed files with 30 additions and 30 deletions

View File

@@ -1591,7 +1591,7 @@ var Events = Module("events", {
},
{ arg: true, count: true });
mappings.add([modes.COMMAND],
mappings.add([modes.MAIN],
["<A-m>s", "<sleep>"], "Sleep for {count} milliseconds before continuing macro playback",
function ({ command, count }) {
let now = Date.now();
@@ -1601,7 +1601,7 @@ var Events = Module("events", {
},
{ count: true });
mappings.add([modes.COMMAND],
mappings.add([modes.MAIN],
["<A-m>l", "<wait-for-page-load>"], "Wait for the current page to finish loading before continuing macro playback",
function ({ count }) {
if (events.feedingKeys && !events.waitForPageLoad(count)) {