Remove after_layout from Element trait
Now that layout takes a MutableAppContext we don't need an after_layout phase.
This commit is contained in:
@@ -46,14 +46,6 @@ impl gpui::Element for TextElement {
|
||||
(constraint.max, ())
|
||||
}
|
||||
|
||||
fn after_layout(
|
||||
&mut self,
|
||||
_: pathfinder_geometry::vector::Vector2F,
|
||||
_: &mut Self::LayoutState,
|
||||
_: &mut gpui::AfterLayoutContext,
|
||||
) {
|
||||
}
|
||||
|
||||
fn paint(
|
||||
&mut self,
|
||||
bounds: RectF,
|
||||
|
||||
Reference in New Issue
Block a user