fix(ui): resize correctly without pane-frames (#673)
This commit is contained in:
parent
faaa425b7f
commit
588fcc69be
1 changed files with 3 additions and 1 deletions
|
|
@ -172,7 +172,9 @@ impl Pane for TerminalPane {
|
||||||
fn render_full_viewport(&mut self) {
|
fn render_full_viewport(&mut self) {
|
||||||
// this marks the pane for a full re-render, rather than just rendering the
|
// this marks the pane for a full re-render, rather than just rendering the
|
||||||
// diff as it usually does with the OutputBuffer
|
// diff as it usually does with the OutputBuffer
|
||||||
self.frame.replace(PaneFrame::default());
|
if self.frame.is_some() {
|
||||||
|
self.frame.replace(PaneFrame::default());
|
||||||
|
}
|
||||||
self.grid.render_full_viewport();
|
self.grid.render_full_viewport();
|
||||||
}
|
}
|
||||||
fn selectable(&self) -> bool {
|
fn selectable(&self) -> bool {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue