mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-07 08:25:46 +01:00
Don't quit macro recording from input modes. Fixes liberator issue #175.
This commit is contained in:
@@ -825,7 +825,7 @@ const Events = Module("events", {
|
||||
return;
|
||||
|
||||
if (modes.isRecording) {
|
||||
if (key == "q") { // TODO: should not be hardcoded
|
||||
if (key == "q" && !modes.mainMode.input) { // TODO: should not be hardcoded
|
||||
modes.isRecording = false;
|
||||
dactyl.log("Recorded " + this._currentMacro + ": " + this._macros.get(this._currentMacro), 9);
|
||||
dactyl.echomsg("Recorded macro '" + this._currentMacro + "'");
|
||||
|
||||
Reference in New Issue
Block a user