Remove double first item border in tabs
This commit is contained in:
parent
7db0a9e105
commit
591dc9d82a
1 changed files with 7 additions and 1 deletions
|
@ -1512,7 +1512,13 @@ impl Pane {
|
||||||
this.border_r().ml_px().border_b()
|
this.border_r().ml_px().border_b()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cmp::Ordering::Equal => this.border_l().border_r().mb_px(),
|
cmp::Ordering::Equal => {
|
||||||
|
if is_first_item {
|
||||||
|
this.ml_px().border_r().mb_px()
|
||||||
|
} else {
|
||||||
|
this.border_l().border_r().mb_px()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// .hover(|h| h.bg(tab_hover_bg))
|
// .hover(|h| h.bg(tab_hover_bg))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue