mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 13:05:54 +01:00
macros ≡ macros.
This commit is contained in:
@@ -178,17 +178,20 @@ var Modes = Module("modes", {
|
||||
// when recording a macro
|
||||
let macromode = "";
|
||||
if (this.recording)
|
||||
macromode = " recording " + this.recording;
|
||||
macromode = "recording " + this.recording + " ";
|
||||
else if (this.replaying)
|
||||
macromode = " replaying";
|
||||
macromode = "replaying";
|
||||
|
||||
if (!options.get("showmode").getKey(this.main.allBases, false))
|
||||
return macromode;
|
||||
|
||||
let val = this._modeMap[this._main].display();
|
||||
if (val)
|
||||
return "-- " + val + " --" + macromode;
|
||||
return macromode;
|
||||
let modeName = this._modeMap[this._main].display();
|
||||
if (!modeName)
|
||||
return macromode;
|
||||
|
||||
if (macromode)
|
||||
macromode = " " + macromode;
|
||||
return "-- " + modeName + " --" + macromode;
|
||||
},
|
||||
|
||||
NONE: 0,
|
||||
|
||||
Reference in New Issue
Block a user