1
0
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:
Kris Maglione
2010-08-28 18:58:37 -04:00
parent 0b13017b17
commit 620e6a73a5

View File

@@ -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 + "'");