mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
Fix central region 1px offset from bottom of top tab bar
This commit is contained in:
parent
f7a41c16f1
commit
e9e4d46c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ os_window_regions(OSWindow *os_window, Region *central, Region *tab_bar) {
|
|||
switch(OPT(tab_bar_edge)) {
|
||||
case TOP_EDGE:
|
||||
central->left = 0; central->right = os_window->viewport_width - 1;
|
||||
central->top = os_window->fonts_data->fcm.cell_height + margin_inner + margin_outer;
|
||||
central->top = os_window->fonts_data->fcm.cell_height + margin_inner + margin_outer - 1;
|
||||
central->bottom = os_window->viewport_height - 1;
|
||||
central->top = MIN(central->top, central->bottom);
|
||||
tab_bar->top = margin_outer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue