From a3cced9fb615a1cfe0b334fc41dc785f1fb9aef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 28 Dec 2020 23:26:14 +0100 Subject: 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 --- ScreenManager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ScreenManager.c') 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); } } -- cgit v1.2.3