mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-01 12:45:45 +01:00
Replace weird mystery meat args of mapping actions with a proper object.
This commit is contained in:
@@ -1253,7 +1253,7 @@ var Events = Module("events", {
|
||||
|
||||
mappings.add([modes.NORMAL, modes.TEXT_AREA, modes.PLAYER].filter(util.identity),
|
||||
["@"], "Play a macro",
|
||||
function (count, arg) {
|
||||
function ({ arg, count }) {
|
||||
count = Math.max(count, 1);
|
||||
while (count-- && events.playMacro(arg))
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user