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:
Wez Furlong committed 2021-12-24 16:34:45 -07:00
1 parent 8eb7c3cff4
commit 240382bcf1
1 file changed
+1 -4
+1 -4
View File
@@ -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 {