Render borders correctly when only a subset of the border is visible

This commit is contained in:
Antonio Scandurra
2021-03-31 14:53:34 +02:00
parent 073ff96a9f
commit d853dbb048
2 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ impl Pane {
ctx.emit(Event::Split(direction));
}
fn render_tabs<'a>(&self, app: &AppContext) -> ElementBox {
fn render_tabs(&self, app: &AppContext) -> ElementBox {
let settings = smol::block_on(self.settings.read());
let border_color = ColorU::from_u32(0xdbdbdcff);