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:
1 parent
8eb7c3cff4
commit
240382bcf1
1 file changed
+1
-4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user