Merge pull request #2114 from zed-industries/new-collaboration-ui

New collaboration UI part 1/N
This commit is contained in:
Max Brunsfeld
2023-02-22 12:32:41 -08:00
committed by GitHub
24 changed files with 1268 additions and 287 deletions
+1
View File
@@ -363,6 +363,7 @@ impl<T: Element> AnyElement for Lifecycle<T> {
value
}
}
_ => panic!("invalid element lifecycle state"),
}
}
+2
View File
@@ -308,7 +308,9 @@ impl Element for Flex {
}
}
}
child.paint(child_origin, visible_bounds, cx);
match self.axis {
Axis::Horizontal => child_origin += vec2f(child.size().x(), 0.0),
Axis::Vertical => child_origin += vec2f(0.0, child.size().y()),