Made the theme picker sort from dark to light
Added a layer into 'ConstrainedBox' to clip it 's children Made the welcome experience responsive to small and large sizes
This commit is contained in:
parent
8db7e17ac5
commit
3b31f10c6f
4 changed files with 9 additions and 4 deletions
|
@ -153,7 +153,9 @@ impl Element for ConstrainedBox {
|
|||
_: &mut Self::LayoutState,
|
||||
cx: &mut PaintContext,
|
||||
) -> Self::PaintState {
|
||||
self.child.paint(bounds.origin(), visible_bounds, cx);
|
||||
cx.paint_layer(Some(visible_bounds), |cx| {
|
||||
self.child.paint(bounds.origin(), visible_bounds, cx);
|
||||
})
|
||||
}
|
||||
|
||||
fn rect_for_text_range(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue