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:
Nathan Sobo
2021-08-20 16:40:45 -06:00
parent d0a5bc694c
commit d68e0b0b97
18 changed files with 22 additions and 191 deletions
-8
View File
@@ -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,