Ticket #4534: togglestatusbars.diff

File togglestatusbars.diff, 549 bytes (added by causative, 3 years ago)
  • binaries/data/mods/public/gui/session/input.js

     
    822822
    823823    if (ev.hotkey == "session.showstatusbars")
    824824    {
    825         g_ShowAllStatusBars = (ev.type == "hotkeydown");
     825        if(ev.type == "hotkeydown")
     826            g_ShowAllStatusBars = !g_ShowAllStatusBars;
    826827        recalculateStatusBarDisplay();
    827828    }
    828829    else if (ev.hotkey == "session.highlightguarding")