mirror of
https://github.com/wez/wezterm.git
synced 2024-09-20 19:27:22 +03:00
gui: fix fancy tab height
Always match the height of the background strip, which is 2*metrics.height. refs: #1180
This commit is contained in:
parent
8eb7c3cff4
commit
240382bcf1
@ -540,10 +540,7 @@ impl super::TermWindow {
|
||||
tab_bounding_rect.min_x(),
|
||||
tab_bounding_rect.min_y(),
|
||||
tab_bounding_rect.width(),
|
||||
tab_bounding_rect
|
||||
.max_y()
|
||||
.min(metrics.cell_height.get() as isize * 2)
|
||||
- tab_bounding_rect.min_y(),
|
||||
(metrics.cell_height.get() as isize * 2) - tab_bounding_rect.min_y(),
|
||||
);
|
||||
|
||||
match item.item {
|
||||
|
Loading…
Reference in New Issue
Block a user