Moved Frame struct into element context, to be close to it's associated methods
This commit is contained in:
parent
c05edee2b5
commit
b65cae5874
7 changed files with 218 additions and 233 deletions
|
@ -365,7 +365,7 @@ impl TerminalElement {
|
|||
result
|
||||
}
|
||||
|
||||
fn compute_layout(&self, bounds: Bounds<gpui::Pixels>, cx: &mut WindowContext) -> LayoutState {
|
||||
fn compute_layout(&self, bounds: Bounds<gpui::Pixels>, cx: &mut ElementContext) -> LayoutState {
|
||||
let settings = ThemeSettings::get_global(cx).clone();
|
||||
|
||||
let buffer_font_size = settings.buffer_font_size(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue