summaryrefslogtreecommitdiffstats
path: root/ScreenManager.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-01-01 22:06:26 +0100
committercgzones <cgzones@googlemail.com>2021-01-04 23:12:43 +0100
commit24c5ca9ddfbe088a3d25694cbe170eaf3d7f828f (patch)
tree909068de1bbc303260ab4f0f57308e6706f4fc0f /ScreenManager.c
parenteb6f8d569d2758d3dea8cffdaaa10955301ad763 (diff)
Panel: rework hight logic
The hight of a Panel dpends on whether the Panel has a header or not. Also the header migth not be set on Panel creation, like in the MainPanel. This currently causes the cursor to get hidden behind the FunctionBar on down-scrolling.
Diffstat (limited to 'ScreenManager.c')
-rw-r--r--ScreenManager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ScreenManager.c b/ScreenManager.c
index 4c74e477..6b7ddc9b 100644
--- a/ScreenManager.c
+++ b/ScreenManager.c
@@ -124,7 +124,7 @@ static void ScreenManager_drawPanels(ScreenManager* this, int focus, bool force_
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));
- mvvline(panel->y, panel->x + panel->w, ' ', panel->h + 1);
+ mvvline(panel->y, panel->x + panel->w, ' ', panel->h);
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy