mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 14:10:19 +00:00
fix anchor descriptions
This commit is contained in:
parent
076fef873a
commit
916978307b
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ fn setup(world: &mut World, resources: &mut Resources) {
|
||||||
.add_entity(Camera2dEntity {
|
.add_entity(Camera2dEntity {
|
||||||
..Default::default()
|
..Default::default()
|
||||||
})
|
})
|
||||||
// bottom left anchor with vertical fill
|
// left vertical fill
|
||||||
.add_entity(UiEntity {
|
.add_entity(UiEntity {
|
||||||
node: Node::new(
|
node: Node::new(
|
||||||
math::vec2(0.0, 0.0),
|
math::vec2(0.0, 0.0),
|
||||||
|
@ -67,7 +67,7 @@ fn setup(world: &mut World, resources: &mut Resources) {
|
||||||
material: color_materials.add(Color::rgb(0.02, 0.02, 0.02).into()),
|
material: color_materials.add(Color::rgb(0.02, 0.02, 0.02).into()),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
})
|
})
|
||||||
// top right anchor with vertical fill
|
// right vertical fill
|
||||||
.add_entity(UiEntity {
|
.add_entity(UiEntity {
|
||||||
node: Node::new(
|
node: Node::new(
|
||||||
math::vec2(0.0, 0.0),
|
math::vec2(0.0, 0.0),
|
||||||
|
|
Loading…
Reference in a new issue