Checkpoint
This commit is contained in:
parent
14fc386dc8
commit
c3b1264c05
14 changed files with 38 additions and 35 deletions
|
@ -1,7 +1,7 @@
|
|||
use crate::{
|
||||
element::{Element, IntoElement, Layout},
|
||||
layout_context::LayoutContext,
|
||||
paint_context::PaintContext,
|
||||
ViewContext,
|
||||
};
|
||||
use anyhow::Result;
|
||||
use gpui::{
|
||||
|
@ -31,7 +31,7 @@ impl<V: 'static> Element<V> for Text {
|
|||
fn layout(
|
||||
&mut self,
|
||||
_view: &mut V,
|
||||
cx: &mut LayoutContext<V>,
|
||||
cx: &mut ViewContext<V>,
|
||||
) -> Result<(LayoutId, Self::PaintState)> {
|
||||
let fonts = cx.platform().fonts();
|
||||
let text_style = cx.text_style();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue