diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-28 23:26:14 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2021-01-04 23:12:43 +0100 |
commit | a3cced9fb615a1cfe0b334fc41dc785f1fb9aef5 (patch) | |
tree | b54469629867cbff2a2dd7489a5c1682d5e22440 /ScreenManager.c | |
parent | 24c5ca9ddfbe088a3d25694cbe170eaf3d7f828f (diff) |
Add option to hide the Function Bar
Support three settings:
- Always show Function Bar
- Always hide the Function Bar, except in Infoscreens (Env/Locks...)
and when editing the search and filter mode
- Hide the Function Bar on ESC until the next user input
Closes: #439
Diffstat (limited to 'ScreenManager.c')
-rw-r--r-- | ScreenManager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ScreenManager.c b/ScreenManager.c index 6b7ddc9b..51951a84 100644 --- a/ScreenManager.c +++ b/ScreenManager.c @@ -123,7 +123,7 @@ static void ScreenManager_drawPanels(ScreenManager* this, int focus, bool force_ const int nPanels = this->panelCount; for (int i = 0; i < nPanels; i++) { Panel* panel = (Panel*) Vector_get(this->panels, i); - Panel_draw(panel, force_redraw, i == focus, !((panel == this->state->panel) && this->state->hideProcessSelection)); + Panel_draw(panel, force_redraw, i == focus, !((panel == this->state->panel) && this->state->hideProcessSelection), State_hideFunctionBar(this->state)); mvvline(panel->y, panel->x + panel->w, ' ', panel->h); } } |