mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 08:15:46 +01:00
Fix q mapping's action arg.
See revision 45b2508a55c9.
This commit is contained in:
@@ -1248,7 +1248,7 @@ var Events = Module("events", {
|
|||||||
// macros
|
// macros
|
||||||
mappings.add([modes.NORMAL, modes.TEXT_AREA, modes.PLAYER].filter(util.identity),
|
mappings.add([modes.NORMAL, modes.TEXT_AREA, modes.PLAYER].filter(util.identity),
|
||||||
["q"], "Record a key sequence into a macro",
|
["q"], "Record a key sequence into a macro",
|
||||||
function (arg) {
|
function ({ arg }) {
|
||||||
events._macroKeys.pop();
|
events._macroKeys.pop();
|
||||||
events[modes.recording ? "finishRecording" : "startRecording"](arg);
|
events[modes.recording ? "finishRecording" : "startRecording"](arg);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user