in src/gui.js [120:123]
function switchMirror(index, on) { if (on) funcs.mirrorOn(index); else funcs.mirrorOff(index); }